Unverified Commit 70c496f4 authored by kladko's avatar kladko

SKALE-4586 Added Thread Pool

1 merge request!1Develop
......@@ -345,8 +345,8 @@ void ZMQServer::workerThreadProcessNextMessage(uint64_t _threadNumber) {
try {
while (!incomingQueue.at(_threadNumber)
.wait_dequeue_timed(element, std::chrono::milliseconds(100))) {
.wait_dequeue_timed(element, std::chrono::milliseconds(1000))) {
checkForExit();
}
result = element.first->process();
......
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