delay close of expired connections

pull/73/head
v2ray 2016-01-22 22:17:50 +01:00
parent 73c17d9931
commit c26f081101
1 changed files with 1 additions and 1 deletions

View File

@ -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()