Skip to content

Commit

Permalink
Merge pull request #1157 from navikt/jdk-options-vs-java-opts
Browse files Browse the repository at this point in the history
Ser ikke ut som vi får 75% av minnebruk i praksis - bytter til jdk_ja…
  • Loading branch information
charliemidtlyng authored Sep 26, 2024
2 parents bbdb677 + b6e7b74 commit 8a1e447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM gcr.io/distroless/java21-debian12:nonroot
WORKDIR /app
ENV TZ="Europe/Oslo"
COPY target/familie-ef-mottak.jar app.jar
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75"
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=75"
CMD ["app.jar"]
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import java.util.Properties
import java.util.UUID

@Service
@TaskStepBeskrivelse(taskStepType = ArkiverSøknadTask.TYPE, beskrivelse = "Arkiver søknad")
@TaskStepBeskrivelse(taskStepType = ArkiverSøknadTask.TYPE, beskrivelse = "Arkiver søknad", settTilManuellOppfølgning = true, maxAntallFeil = 1)
class ArkiverSøknadTask(
private val arkiveringService: ArkiveringService,
private val taskService: TaskService,
Expand Down

0 comments on commit 8a1e447

Please sign in to comment.