ソースを参照

Reduced Connection Timeout

Frank van den Bos 2 年 前
コミット
5a2b210ece

+ 1 - 1
InABox.Client.RPC/Transports/Socket/RPCClientSocketTransport.cs

@@ -61,7 +61,7 @@ namespace InABox.Rpc
             }
             
             // Time to wait before disconnect - the default meant that the client disconnected during debugging, since the ping would fail
-            socket.WaitTime = TimeSpan.FromSeconds(60);
+            socket.WaitTime = TimeSpan.FromSeconds(20);
             socket.OnOpen -= Socket_OnOpen;
             socket.OnError -= Socket_OnError;
             socket.OnClose -= Socket_OnClose;