[zeromq-dev] Python Streamer Push/Pull Device "losing" messages
cremes.devlist at mac.com
Fri Oct 21 15:06:16 CEST 2011
On Oct 21, 2011, at 1:14 AM, James Thornton wrote:
>> Using LINGER is the proper way to solve this in conjunction with zmq_close() and zmq_term() as your code now does.
>> Perhaps there was a bug with 2.1.4 (I don't recall... it's pretty old). Any chance you can retry with 2.1.10 and see if this behavior persists? I have similar code running under 2.1.10 and the LINGER works as expected.
> I uninstalled the Fedora 2.1.4 packaged, compiled the 2.1.11 version
> off GitHub, and recompiled the latest pyzmq off GitHub, but still no
> Chuck, did you run this Python script
> (https://gist.github.com/1302163) with the sleep(5) commented out?
I don't have a python environment set up, so reproducing this exactly isn't feasible for me. I may rewrite it in Ruby and see what happens.
More information about the zeromq-dev