Merge pull request #309 from gummif/gfa/poller-millis

Problem: zmq_poller_wait_all is called with microseconds count
This commit is contained in:
Simon Giesecke 2019-04-07 21:15:59 +02:00 committed by GitHub
commit 132f7b00df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1223,7 +1223,7 @@ template<typename T = void> class poller_t
}
size_t wait_all(std::vector<zmq_poller_event_t> &poller_events,
const std::chrono::microseconds timeout)
const std::chrono::milliseconds timeout)
{
int rc = zmq_poller_wait_all(poller_ptr.get(), poller_events.data(),
static_cast<int>(poller_events.size()),