Quellcode durchsuchen

extend mux session timeout

Darien Raymond vor 8 Jahren
Ursprung
Commit
a7abac2eaf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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()