From 70f73049a6546e1c09c0d3a1614dd9cc31749439 Mon Sep 17 00:00:00 2001 From: v2ray Date: Sat, 27 Feb 2016 21:53:06 +0100 Subject: [PATCH] extend wait --- shell/point/inbound_detour_dynamic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/point/inbound_detour_dynamic.go b/shell/point/inbound_detour_dynamic.go index 7e929ba8b..662981eb9 100644 --- a/shell/point/inbound_detour_dynamic.go +++ b/shell/point/inbound_detour_dynamic.go @@ -96,7 +96,7 @@ func (this *InboundDetourHandlerDynamic) refresh() error { delete(this.portsInUse, ich.Port()) ich.Close() - err := retry.Timed(100 /* times */, 100 /* ms */).On(func() error { + err := retry.Timed(100 /* times */, 1000 /* ms */).On(func() error { err := ich.Listen(port) if err != nil { log.Error("Point: Failed to start inbound detour on port ", port, ": ", err)