Browse Source

delay close of expired connections

v2ray 9 years ago
parent
commit
c26f081101
1 changed files with 1 additions and 1 deletions
  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()