Compare commits
2 Commits
ead6543d95
...
8173216e95
| Author | SHA1 | Date | |
|---|---|---|---|
| 8173216e95 | |||
| f4510f8990 |
@ -132,7 +132,7 @@ func (server *Server) shutdown() {
|
||||
logger.Println("http server shutdown. healthcheckcounter :", t)
|
||||
atomic.StoreInt64(&healthcheckcounter, math.MinInt64)
|
||||
|
||||
for cnt := 0; cnt >= 100; {
|
||||
for cnt := 0; cnt < 100; {
|
||||
next := atomic.LoadInt64(&healthcheckcounter)
|
||||
if next == t {
|
||||
cnt++
|
||||
|
||||
Reference in New Issue
Block a user