버그 수정;;;;;바본가;;

This commit is contained in:
2023-07-10 17:58:00 +09:00
parent 38683eb616
commit f4510f8990

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