Unverified Commit 70c496f4 authored by kladko's avatar kladko

SKALE-4586 Added Thread Pool

parent f2bd2ae8
...@@ -345,8 +345,8 @@ void ZMQServer::workerThreadProcessNextMessage(uint64_t _threadNumber) { ...@@ -345,8 +345,8 @@ void ZMQServer::workerThreadProcessNextMessage(uint64_t _threadNumber) {
try { try {
while (!incomingQueue.at(_threadNumber) 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(); 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