[zeromq-dev] PUB-SUB works, server restarts, PUB-SUB fails for existing workers.

Pieter Hintjens ph at imatix.com
Tue Aug 30 12:14:49 CEST 2011


On Tue, Aug 30, 2011 at 5:49 AM, alotsof <alotsof at gmx.net> wrote:

> What surprises me though is that I can reduce the problem to one of
> order of execution:
>
> - spawn worker first, setup 0MQ second: reconnection works.
> - setup 0MQ first, spawn worker second: reconnection fails.

To be honest, your test set-up is not clean. You should remove the
"start worker" code from the publisher and start the two processes
explicitly from a single shell script.

-Pieter



More information about the zeromq-dev mailing list