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

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"