瀏覽代碼

delay close of expired connections

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

+ 1 - 1
shell/point/inbound_detour_dynamic.go

@@ -42,7 +42,7 @@ func (this *InboundDetourHandlerDynamic) refresh() error {
 
 	this.ich2Recycle = this.ichInUse
 	if this.ich2Recycle != nil {
-		time.AfterFunc(10*time.Second, func() {
+		time.AfterFunc(time.Minute, func() {
 			for _, ich := range this.ich2Recycle {
 				if ich != nil {
 					ich.handler.Close()