Skip to content

Commit

Permalink
Merge pull request #307 from immutable/fix/tcp-timeout
Browse files Browse the repository at this point in the history
[DX-3348] fix: tcp timeout
  • Loading branch information
nattb8 authored Oct 20, 2024
2 parents 5d545b7 + 7d248e4 commit 48b326a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ public TCPCommunicationLayer()
public override Client CreateClient()
{
IPEndPoint ipEndPoint = new(IPAddress.Loopback, inPort);
return new TCPClient(ipEndPoint, connectionTimeout);
return new TCPClient(ipEndPoint, int.MaxValue);
}

public override Host CreateHost()
{
IPEndPoint ipEndPoint = new(IPAddress.Loopback, outPort);
return new TCPHost(ipEndPoint);
return new TCPHost(ipEndPoint, int.MaxValue, int.MaxValue);
}

public override void GetIpcSettings(out object outLocation, out object inLocation, out string assemblyLocation)
Expand Down

0 comments on commit 48b326a

Please sign in to comment.