diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-01-08 09:00:51 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-01-08 09:00:51 +0100 |
commit | 562cd346b0eda8d8402514ea7e85e1deae6d278f (patch) | |
tree | a702845945ae360dd3791a7080ee954e6718ea29 /internal | |
parent | b35235b8b15a40379b1eb2a04aa14e60f21aa8a9 (diff) |
Set larger shutdown timeout
Diffstat (limited to 'internal')
-rw-r--r-- | internal/manager/manager.go | 2 |
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{ |