Skip to content

Commit

Permalink
Update broadcaster.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroNazarenko authored Nov 22, 2024
1 parent fd06b54 commit 7116c2f
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 = 15;
value = 300;
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 = 15;
value = 300;
zmq_setsockopt( m_zmq_client_socket, ZMQ_TCP_KEEPALIVE_INTVL, &value, sizeof( value ) );

value = 16;
Expand Down

0 comments on commit 7116c2f

Please sign in to comment.