Skip to content

Commit

Permalink
IS-552 Use 15 sec keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
dimalit committed Aug 2, 2024
1 parent 2adaa64 commit cd95c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libskale/broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 15;
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 = 15;
zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE_INTVL, &value, sizeof( value ) );

value = 16;
Expand Down

0 comments on commit cd95c2b

Please sign in to comment.