change waitor time to 30s

This commit is contained in:
eson 2018-12-17 03:23:37 +08:00
parent da98287e2e
commit e235299086

View File

@ -93,7 +93,7 @@ func (swi *Switch) checkInReady(ip string, now int64) {
dipg.Group[ip].ActiveTime = now
if dh, ok := dipg.Waitor[ip]; ok {
if dh.OverTime(now, 20) > 0 {
if dh.OverTime(now, 30) > 0 {
delete(dipg.Waitor, ip)
} else {
return