Skip to content

Commit

Permalink
Merge pull request #574 from navikt/GracefulShutdown
Browse files Browse the repository at this point in the history
Add graceful shutdown
  • Loading branch information
dragutin-nav authored Sep 24, 2021
2 parents a5f4116 + 7a6a369 commit 0281442
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ management.endpoints.web.base-path=/internal
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.metrics.export.prometheus.enabled=true

# Pool size for task scheduler
spring.task.scheduling.pool.size=5

# Vi migrerer databasen med flyway manuelt
spring.flyway.enabled=false
# Vi setter opp kobling til database manuelt
Expand Down Expand Up @@ -39,3 +37,4 @@ app.env.soapStsUrl=${SECURITYTOKENSERVICE_URL}
app.env.dbUrl=${VEILARBPORTEFOLJE_POSTGRES_DB_URL}
app.env.abacModiaUrl=${ABAC_MODIA_URL}
app.env.abac-veilarb-url=${ABAC_PDP_ENDPOINT_URL}
server.shutdown=graceful

0 comments on commit 0281442

Please sign in to comment.