Skip to content

Commit

Permalink
legg til thread.sleep() sånn kallet som patcher aktørId får tid til å…
Browse files Browse the repository at this point in the history
… commite til db (#1242)
  • Loading branch information
fredrikpf authored Jan 6, 2025
1 parent 4034961 commit b370b5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ class JournalhendelseBarnetrygdRutingTask(

val fagsakId = baSakClient.hentFagsaknummerPåPersonident(personIdent)

Thread.sleep(1000L)

val (baSak, infotrygdSak) = brukersIdent?.run { søkEtterSakIBaSakOgInfotrygd(this) } ?: Pair(null, null)
val brukerHarFagsakIBaSak = baSak.finnes()
val brukerHarSakIInfotrygd = infotrygdSak.finnes()
Expand Down

0 comments on commit b370b5f

Please sign in to comment.