Delay shutdowns of backup jobs to reduce killing those in progress

This commit is contained in:
IamTheFij 2024-01-23 12:05:20 -08:00
parent 9ba74ce698
commit efe7864cc9
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
task "backup" {
driver = "docker"
shutdown_delay = "5m"
volume_mount {
volume = "all-volumes"
destination = "/data"