Skip to content
Snippets Groups Projects
Commit 84e6c0ff authored by Dan Notestein's avatar Dan Notestein Committed by Eric Frias
Browse files

Allow hivemind's block processor 30s to shut down cleanly before killing it

parent 16e7e5cc
No related branches found
No related tags found
2 merge requests!66Merge develop to master for release,!56Allow hivemind's block processor 30s to shut down cleanly before killing it
Pipeline #112124 passed
...@@ -32,6 +32,14 @@ services: ...@@ -32,6 +32,14 @@ services:
timeout: 2s timeout: 2s
retries: 10 retries: 10
start_period: 72h start_period: 72h
# after requesting a shutdown with SIGTERM, allow the container 30 seconds to exit
# before killing it.
# Normally it will exit cleanly in a second or two, but it can take longer if it's
# in the middle of massive sync. When in massive sync, a forced shutdown can leave
# the hivemind database in an inconsistent state, requiring an uninstall/reinstall
# of hivemind to correct it.
stop_grace_period: 30s
stop_signal: SIGINT
depends_on: depends_on:
haf: haf:
condition: service_healthy condition: service_healthy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment