Skip to content

Commit

Permalink
More memory
Browse files Browse the repository at this point in the history
  • Loading branch information
thburnett committed Dec 20, 2024
1 parent bf78432 commit d41a648
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .nais/ebms-provider-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
resources:
limits:
cpu: "1000m"
memory: "512Mi"
memory: "1024Mi"
requests:
cpu: "100m"
memory: "256Mi"
Expand Down
2 changes: 0 additions & 2 deletions ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import io.micrometer.prometheus.PrometheusConfig
import io.micrometer.prometheus.PrometheusMeterRegistry
import kotlinx.coroutines.awaitCancellation
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.launch
import net.logstash.logback.marker.Markers
import no.nav.emottak.constants.SMTPHeaders
Expand Down Expand Up @@ -111,7 +110,6 @@ suspend fun startSignalReceiver(kafka: Kafka) {
val signalProcessor = SignalProcessor()
KafkaReceiver(receiverSettings)
.receive(kafka.incomingSignalTopic)
.take(20)
.map { record ->
signalProcessor.processSignal(record.key(), record.value())
record
Expand Down

0 comments on commit d41a648

Please sign in to comment.