From e2352990868270e3b6ddd01409992861426191ce Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Mon, 17 Dec 2018 03:23:37 +0800 Subject: [PATCH] change waitor time to 30s --- switch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switch.go b/switch.go index 0748065..bfe6d1f 100644 --- a/switch.go +++ b/switch.go @@ -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