Compare commits

..

2 Commits

Author SHA1 Message Date
fcdf1642d2 Merge branch 'master' into kd-live 2023-06-28 17:37:59 +09:00
ed6ebc2761 lb에 붙어있을 경우 종료 로직 수정 2023-06-28 17:37:49 +09:00

View File

@ -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)
}
}