Merge branch 'master' into kd-live

This commit is contained in:
2023-07-10 17:58:10 +09:00

View File

@ -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++