Skip to content

Commit

Permalink
Revert socket options
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jul 30, 2024
1 parent 020e89d commit 7c75d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/prime_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ server_t<request_container_t, request_info_t>::server_t(
proxy.setsockopt(ZMQ_SNDHWM, &disabled, sizeof(disabled));
proxy.connect(proxy_endpoint.c_str());

loopback.setsockopt(ZMQ_RCVHWM, &disabled, sizeof(disabled));
loopback.bind(result_endpoint.c_str());

interrupt.setsockopt(ZMQ_SNDHWM, &disabled, sizeof(disabled));
Expand Down Expand Up @@ -479,6 +480,7 @@ worker_t::worker_t(zmq::context_t& context,
downstream_proxy.setsockopt(ZMQ_SNDHWM, &disabled, sizeof(disabled));
downstream_proxy.connect(downstream_proxy_endpoint.c_str());

loopback.setsockopt(ZMQ_SNDHWM, &disabled, sizeof(disabled));
loopback.connect(result_endpoint.c_str());

interrupt.setsockopt(ZMQ_RCVHWM, &disabled, sizeof(disabled));
Expand Down

0 comments on commit 7c75d33

Please sign in to comment.