[zeromq-dev] Python Streamer Push/Pull Device "losing" messages
james at jamesthornton.com
Fri Oct 21 06:21:36 CEST 2011
On Thu, Oct 20, 2011 at 3:34 PM, James Thornton <james at jamesthornton.com> wrote:
> When I run it, sometimes it will print that it receives all 1000
> messages, sometimes it will be ~300, sometimes more or less -- it's so
> intermittent as to how many messages it receives.
> I'm using pyzmq 2.1.9 with ZMQ 2.1.4 on Fedora.
Putting a sleep(5) at the end of the client function causes the client
to remain open long enough for the socket to finish sending the
messages to the worker:
But LINGER is set to -1 on all sockets -- shouldn't that make each
socket hold message indefinitely?
What's going on here?
More information about the zeromq-dev