Move web/task shutdown to container. Shutdown web before tasks. Add shutdown timeouts to config.

This commit is contained in:
mikestefanello 2025-02-16 09:39:29 -05:00
parent a7006b3997
commit b2ad889f56
4 changed files with 37 additions and 40 deletions

View file

@ -4,6 +4,7 @@ http:
readTimeout: "5s"
writeTimeout: "10s"
idleTimeout: "2m"
shutdownTimeout: "10s"
tls:
enabled: false
certificate: ""
@ -35,6 +36,7 @@ tasks:
goroutines: 1
releaseAfter: "15m"
cleanupInterval: "1h"
shutdownTimeout: "10s"
mail:
hostname: "localhost"