change waitor time to 30s
This commit is contained in:
parent
da98287e2e
commit
e235299086
|
@ -93,7 +93,7 @@ func (swi *Switch) checkInReady(ip string, now int64) {
|
||||||
dipg.Group[ip].ActiveTime = now
|
dipg.Group[ip].ActiveTime = now
|
||||||
|
|
||||||
if dh, ok := dipg.Waitor[ip]; ok {
|
if dh, ok := dipg.Waitor[ip]; ok {
|
||||||
if dh.OverTime(now, 20) > 0 {
|
if dh.OverTime(now, 30) > 0 {
|
||||||
delete(dipg.Waitor, ip)
|
delete(dipg.Waitor, ip)
|
||||||
} else {
|
} else {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user