From 54f561ebb3c60d3ea8c45c1d48786464ecef0717 Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Sat, 28 May 2022 12:37:53 +0200 Subject: [PATCH] Added: timeout --- FabAccessAPI/API.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FabAccessAPI/API.cs b/FabAccessAPI/API.cs index 81e91bd..5080722 100644 --- a/FabAccessAPI/API.cs +++ b/FabAccessAPI/API.cs @@ -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);