File tree Expand file tree Collapse file tree 2 files changed +0
-106
lines changed
dp-inntekt-api/src/main/kotlin/no/nav/dagpenger/inntekt Expand file tree Collapse file tree 2 files changed +0
-106
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import io.ktor.server.engine.embeddedServer
5
5
import io.ktor.server.engine.stop
6
6
import io.ktor.server.netty.Netty
7
7
import io.prometheus.client.hotspot.DefaultExports
8
- import kotlinx.coroutines.delay
9
8
import kotlinx.coroutines.launch
10
9
import kotlinx.coroutines.runBlocking
11
10
import mu.KotlinLogging
@@ -128,19 +127,5 @@ fun main() {
128
127
}
129
128
)
130
129
}
131
-
132
- Uttrekksjobb (dataSource, inntektskomponentHttpClient).also {
133
- fixedRateTimer(
134
- name = " uttrekk" ,
135
- initialDelay = TimeUnit .MINUTES .toMillis(1 ),
136
- period = TimeUnit .HOURS .toMillis(1 ),
137
- action = {
138
- LOGGER .info { " UTTREKK" }
139
- runBlocking { it.hentInntekterOgSjekk() }
140
- LOGGER .info { " UTTREKK" }
141
- }
142
- )
143
- }
144
-
145
130
}
146
131
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments