mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-05-16 01:57:28 +02:00
Increase server shutdown timeout
Entire-Checkpoint: cf3b472471bd
This commit is contained in:
@@ -444,7 +444,7 @@ func (s *Server) Shutdown(ctx context.Context) {
|
||||
|
||||
select {
|
||||
case <-done:
|
||||
case <-time.After(10 * time.Second):
|
||||
case <-time.After(60 * time.Second):
|
||||
cclog.Warn("Shutdown deadline exceeded, forcing exit")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user