浏览代码

extend mux session timeout

Darien Raymond 8 年之前
父节点
当前提交
a7abac2eaf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/proxyman/mux/mux.go

+ 1 - 1
app/proxyman/mux/mux.go

@@ -123,7 +123,7 @@ func (m *Client) monitor() {
 			m.inboundRay.InboundInput().Close()
 			m.inboundRay.InboundOutput().CloseError()
 			return
-		case <-time.After(time.Second * 6):
+		case <-time.After(time.Second * 16):
 			size := m.sessionManager.Size()
 			if size == 0 && m.sessionManager.CloseIfNoSession() {
 				m.cancel()