From 2f91b0856294cad1f6784db6592470d748a84ff6 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 16 Dec 2017 11:53:41 -0500 Subject: [PATCH] Increases topic recieve timeout to 10s --- TGS.Server/Instance/Interop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGS.Server/Instance/Interop.cs b/TGS.Server/Instance/Interop.cs index f24f3101f1..6935a842bb 100644 --- a/TGS.Server/Instance/Interop.cs +++ b/TGS.Server/Instance/Interop.cs @@ -211,7 +211,7 @@ namespace TGS.Server var returnedString = "NULL"; var returnedData = new byte[UInt16.MaxValue]; - using (var topicSender = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) { SendTimeout = 5000, ReceiveTimeout = 5000 }) + using (var topicSender = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) { SendTimeout = 5000, ReceiveTimeout = 10000 }) try { topicSender.Connect(IPAddress.Loopback, port);