Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Skru av datapakkejobb (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
b162214 authored Jun 27, 2022
1 parent 6849d11 commit 9ef715a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import java.time.DayOfWeek
import java.time.Duration
import java.time.LocalDateTime

// TODO: Gjør om til datafortelling
class DatapakkePublisherJob(
private val statsRepo: IStatsRepo,
private val httpClient: HttpClient,
Expand Down
4 changes: 0 additions & 4 deletions src/main/kotlin/no/nav/helse/sporenstreks/web/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import no.nav.helse.arbeidsgiver.kubernetes.ReadynessComponent
import no.nav.helse.arbeidsgiver.system.AppEnv
import no.nav.helse.arbeidsgiver.system.getEnvironment
import no.nav.helse.sporenstreks.auth.localCookieDispenser
import no.nav.helse.sporenstreks.datapakke.DatapakkePublisherJob
import no.nav.helse.sporenstreks.prosessering.kvittering.KvitteringProcessor
import no.nav.helse.sporenstreks.prosessering.metrics.ProcessInfluxJob
import no.nav.helse.sporenstreks.prosessering.refusjonskrav.RefusjonskravProcessor
Expand Down Expand Up @@ -61,9 +60,6 @@ private fun initBackgroundWorkers(app: NettyApplicationEngine) {
koin.get<RefusjonskravProcessor>()
)
bakgrunnsjobbService.startAsync(true)

val datapakkeJob = koin.get<DatapakkePublisherJob>()
datapakkeJob.startAsync(retryOnFail = true)
}

runBlocking { autoDetectProbeableComponents(koin) }
Expand Down

0 comments on commit 9ef715a

Please sign in to comment.