📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 3b7afb35 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Try to use a long

parent 5e04464b
Pipeline #100929 failed with stages
in 4 minutes
......@@ -22,9 +22,15 @@ zmq::socket_t* pzmq_createClientSocket(zmq::context_t & context, int type, const
socket->connect(socketAddressData.str());
if(type == ZMQ_SUB){
socket->setsockopt(ZMQ_LINGER, 0);
socket->setsockopt(ZMQ_SUBSCRIBE, "", 0);
socket->setsockopt(ZMQ_CONFLATE, 1);
// #if (CPPZMQ_VERSION_MAJOR*100 + CPPZMQ_VERSION_MINOR*10 + CPPZMQ_VERSION_PATCH) >= 470
// socket->setsockopt(zmq::sockopt::linger, 0);
// socket->setsockopt(zmq::sockopt::subscribe, "", 0);
// socket->setsockopt(zmq::sockopt::conflate, 1);
// #else
socket->setsockopt(ZMQ_LINGER, 0l);
socket->setsockopt(ZMQ_SUBSCRIBE, "", 0l);
socket->setsockopt(ZMQ_CONFLATE, 1l);
// #endif
}
return socket;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment