Added: timeout

This commit is contained in:
TheJoKlLa 2022-05-28 12:37:53 +02:00
parent 65136ec29b
commit 54f561ebb3

View File

@ -93,7 +93,7 @@ namespace FabAccessAPI
if (tcpRpcClient == null)
{
tcpRpcClient = new TcpRpcClient();
tcpRpcClient = new TcpRpcClient(1000, 1000);
}
try
@ -170,7 +170,7 @@ namespace FabAccessAPI
{
if (tcpRpcClient == null)
{
tcpRpcClient = new TcpRpcClient();
tcpRpcClient = new TcpRpcClient(1000, 1000);
}
await _ConnectAsync(tcpRpcClient, connectionData).ConfigureAwait(false);