aboutsummaryrefslogtreecommitdiff
path: root/internal/manager
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-01-08 09:00:51 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2024-01-08 09:00:51 +0100
commit562cd346b0eda8d8402514ea7e85e1deae6d278f (patch)
treea702845945ae360dd3791a7080ee954e6718ea29 /internal/manager
parentb35235b8b15a40379b1eb2a04aa14e60f21aa8a9 (diff)
Set larger shutdown timeout
Diffstat (limited to 'internal/manager')
-rw-r--r--internal/manager/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/manager/manager.go b/internal/manager/manager.go
index 7d5a527..ba7f1d0 100644
--- a/internal/manager/manager.go
+++ b/internal/manager/manager.go
@@ -45,7 +45,7 @@ func New(cfg Config, fch chan []feedback.Event, mch chan monitor.Event, cch chan
cfg.MetadataRefreshInterval = 1 * time.Hour
}
if cfg.ShutdownTimeout == 0 {
- cfg.ShutdownTimeout = 1 * time.Second // FIXME: increase
+ cfg.ShutdownTimeout = 10 * time.Second
}
s, err := storage.New(storage.Config{