Skip to content

Commit

Permalink
⚡️ Innhent 50 arbeidsgivernavn om gangen
Browse files Browse the repository at this point in the history
  • Loading branch information
havstein committed Nov 14, 2024
1 parent ca4f0cd commit d973644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ internal class Kommandofabrikk(
val liste =
inntektskilderRepository.finnInntektskilderSomManglerNavn().let {
logg.info("Fant ${it.size} arbeidsgivere det mangler navn for, innhenter for (maks) 15.")
it.take(15)
it.take(50)
}

return OpprettEllerOppdaterInntektskilder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ internal class MeldingMediator(
}

fun oppdaterInntektskilder(list: Set<Triple<String, String, List<String>>>) {
sikkerlogg.info("Lagrer arbeidsgiverinformasjon for ${list.size} inntektskilder")
sessionOf(dataSource, returnGeneratedKey = true).use { session ->
session.transaction { transaction ->
list.map { (organisasjonsnummer, navn, bransjer) ->
Expand Down

0 comments on commit d973644

Please sign in to comment.