瀏覽代碼

extend wait

v2ray 9 年之前
父節點
當前提交
70f73049a6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      shell/point/inbound_detour_dynamic.go

+ 1 - 1
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)