Skip to content

Commit

Permalink
Deaktivert merge-detector i kafka-key
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmsa committed Oct 29, 2024
1 parent 6287b2c commit 067b8dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/kafka-key-generator/nais/nais-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ spec:
max: 2
resources:
limits:
memory: 4096Mi
memory: 512Mi
requests:
cpu: 50m
memory: 4096Mi
memory: 256Mi
liveness:
path: /internal/isAlive
initialDelay: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fun Routing.konfigurereHelse(
get("/internal/metrics") {
call.respond(prometheusMeterRegistry.scrape())
}
get("internal/mergeDetector") {
/* get("internal/mergeDetector") {
val t = task.get()
if (t == null) {
task.set(supplyAsync { runBlocking { mergeDetector.findMerges(900) } })
Expand All @@ -49,5 +49,5 @@ fun Routing.konfigurereHelse(
call.respondText("Merge detection in progress")
}
}
}
}*/
}

0 comments on commit 067b8dc

Please sign in to comment.