Browse Source

Merge remote-tracking branch 'upstream/master'

tags/2.5.6
kimw 9 years ago
parent
commit
f6085d9362
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/Service/TCPRelay.cs

+ 1
- 1
shadowsocks-csharp/Controller/Service/TCPRelay.cs View File

@@ -56,7 +56,7 @@ namespace Shadowsocks.Controller
_lastSweepTime = now; _lastSweepTime = now;
foreach (Handler handler1 in this.Handlers) foreach (Handler handler1 in this.Handlers)
{ {
if (now - handler1.lastActivity > TimeSpan.FromSeconds(1800))
if (now - handler1.lastActivity > TimeSpan.FromSeconds(900))
{ {
handlersToClose.Add(handler1); handlersToClose.Add(handler1);
} }


Loading…
Cancel
Save