Skip to content

Commit 3966121

Browse files
authored
Skru på migreringsjobb igjen for å fikse avrunding av grad på utbetalingslistene (#837)
1 parent c7eb5e2 commit 3966121

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/kotlin/no/nav/helse/flex/jobb/MigrerTilUtbetalingsdagerJobb.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ import no.nav.helse.flex.domene.UtbetalingUtbetalt
99
import no.nav.helse.flex.logger
1010
import no.nav.helse.flex.service.BrukerVedtak.Companion.mapTilRsVedtakWrapper
1111
import no.nav.helse.flex.util.leggTilDagerIVedtakPeriode
12+
import org.springframework.scheduling.annotation.Scheduled
1213
import org.springframework.stereotype.Component
1314
import org.springframework.transaction.annotation.Transactional
1415
import java.time.temporal.ChronoUnit
16+
import java.util.concurrent.TimeUnit
1517
import kotlin.math.roundToInt
1618

1719
@Component
@@ -23,6 +25,7 @@ class MigrerTilUtbetalingsdagerJobb(
2325
) {
2426
val log = logger()
2527

28+
@Scheduled(initialDelay = 180, fixedRate = 1, timeUnit = TimeUnit.SECONDS)
2629
@Transactional(rollbackFor = [Exception::class])
2730
fun kjørMigreringTilUtbetalingsdager() {
2831
log.info("Migrerer gamle vedtak til nytt utbetalingsdager format")

0 commit comments

Comments
 (0)