Merge branch 'master' into kd-live
This commit is contained in:
@ -132,7 +132,7 @@ func (server *Server) shutdown() {
|
|||||||
logger.Println("http server shutdown. healthcheckcounter :", t)
|
logger.Println("http server shutdown. healthcheckcounter :", t)
|
||||||
atomic.StoreInt64(&healthcheckcounter, math.MinInt64)
|
atomic.StoreInt64(&healthcheckcounter, math.MinInt64)
|
||||||
|
|
||||||
for cnt := 0; cnt >= 100; {
|
for cnt := 0; cnt < 100; {
|
||||||
next := atomic.LoadInt64(&healthcheckcounter)
|
next := atomic.LoadInt64(&healthcheckcounter)
|
||||||
if next == t {
|
if next == t {
|
||||||
cnt++
|
cnt++
|
||||||
|
|||||||
Reference in New Issue
Block a user