Compare commits
2 Commits
262b9cadec
...
fcdf1642d2
| Author | SHA1 | Date | |
|---|---|---|---|
| fcdf1642d2 | |||
| ed6ebc2761 |
@ -129,7 +129,7 @@ func (server *Server) shutdown() {
|
||||
|
||||
if atomic.LoadInt64(&healthcheckcounter) > 0 {
|
||||
atomic.StoreInt64(&healthcheckcounter, math.MinInt64)
|
||||
for atomic.LoadInt64(&healthcheckcounter)-math.MinInt64 > 10 {
|
||||
for atomic.LoadInt64(&healthcheckcounter)-math.MinInt64 == 0 {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user