Unverified Commit 9cfe402c authored by kladko's avatar kladko

Fix github actions

parent 5b031ead
...@@ -44,13 +44,11 @@ ZMQServer::ZMQServer(bool _checkSignature, const string &_caCertFile) ...@@ -44,13 +44,11 @@ ZMQServer::ZMQServer(bool _checkSignature, const string &_caCertFile)
frontend = make_shared<zmq::socket_t>(*ctx_, ZMQ_ROUTER); frontend = make_shared<zmq::socket_t>(*ctx_, ZMQ_ROUTER);
backend = make_shared<zmq::socket_t>(*ctx_, ZMQ_DEALER); backend = make_shared<zmq::socket_t>(*ctx_, ZMQ_DEALER);
workerThreads = 2 * thread::hardware_concurrency(); //workerThreads = 2 * thread::hardware_concurrency();
if (workerThreads == 0) {
workerThreads = 8;
}
workerThreads = 1; // do single threaded for now workerThreads = 4; // do four threads for now
if (_checkSignature) { if (_checkSignature) {
CHECK_STATE(!_caCertFile.empty()); CHECK_STATE(!_caCertFile.empty());
......
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