Skip to content

Commit

Permalink
Merge pull request zeromq#309 from gummif/gfa/poller-millis
Browse files Browse the repository at this point in the history
Problem: zmq_poller_wait_all is called with microseconds count
  • Loading branch information
sigiesec authored Apr 7, 2019
2 parents 454f0bf + ed63f9a commit 132f7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 132f7b0

Please sign in to comment.