diff --git a/shadowsocks-csharp/Controller/Service/TCPRelay.cs b/shadowsocks-csharp/Controller/Service/TCPRelay.cs index 80464c6b..bf0497d4 100644 --- a/shadowsocks-csharp/Controller/Service/TCPRelay.cs +++ b/shadowsocks-csharp/Controller/Service/TCPRelay.cs @@ -56,7 +56,7 @@ namespace Shadowsocks.Controller _lastSweepTime = now; foreach (Handler handler1 in this.Handlers) { - if (now - handler1.lastActivity > TimeSpan.FromSeconds(1800)) + if (now - handler1.lastActivity > TimeSpan.FromSeconds(900)) { handlersToClose.Add(handler1); }