From 13b9b1008e181f07937202dd2d6fd6812cfc6624 Mon Sep 17 00:00:00 2001 From: Dmytro Nazarenko Date: Tue, 26 Nov 2024 22:22:21 +0000 Subject: [PATCH] IS-1099 Set 275s timeout --- libskale/broadcaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libskale/broadcaster.cpp b/libskale/broadcaster.cpp index 2b594c501..94c5d51a7 100644 --- a/libskale/broadcaster.cpp +++ b/libskale/broadcaster.cpp @@ -116,11 +116,11 @@ void* ZmqBroadcaster::client_socket() const { int value = 1; zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE, &value, sizeof( value ) ); - value = 300; + value = 275; zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE_IDLE, &value, sizeof( value ) ); value = 10; zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE_CNT, &value, sizeof( value ) ); - value = 300; + value = 275; zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE_INTVL, &value, sizeof( value ) ); value = 16;