Skip to content

Commit

Permalink
Kjører historikkvask k9tilbake (kun 1 tråd for å få litt mer oversikt…
Browse files Browse the repository at this point in the history
…lig logg)
  • Loading branch information
mbolstad committed Nov 19, 2024
1 parent 1bd104c commit 0e02405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/k9/los/K9Los.kt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fun Application.k9Los() {
val k9TilbakeTilLosAdapterTjeneste = koin.get<K9TilbakeTilLosAdapterTjeneste>()
k9TilbakeTilLosAdapterTjeneste.setup()

if (LocalDateTime.now().isBefore(LocalDateTime.of(2024, 11, 18, 20, 30))) {
if (LocalDateTime.now().isBefore(LocalDateTime.of(2024, 11, 19, 22, 30))) {
if (1 == 0) { //HAXX for å ikke kjøre jobb, men indikere at koden er i bruk og dermed ikke slettes
//koin.get<ReservasjonKonverteringJobb>().kjørReservasjonskonvertering() //TODO slette
//koin.get<K9SakTilLosLukkeFeiloppgaverTjeneste>().kjørFeiloppgaverVask() //TODO slette
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class K9TilbakeTilLosHistorikkvaskTjeneste(
name = TRÅDNAVN
) {

Thread.sleep(2.toDuration(DurationUnit.MINUTES).inWholeMilliseconds)
Thread.sleep(1.toDuration(DurationUnit.MINUTES).inWholeMilliseconds)

val dispatcher = newFixedThreadPoolContext(5, "Historikkvask k9tilbake")
val dispatcher = newFixedThreadPoolContext(1, "Historikkvask k9tilbake")

log.info("Starter avspilling av historiske BehandlingProsessEventer")

Expand Down

0 comments on commit 0e02405

Please sign in to comment.