[rabbitmq-discuss] Consumer connection closes abruptly after one message

Michael Klishin michael.s.klishin at gmail.com
Wed Nov 16 19:44:07 GMT 2011


Le 16/nov/2011 à 23:29, p2w a écrit :

> Cool.
> 
> Hey I just noticed something in the new code. You are doing an
> AMQP.start inside the EventMachine.next_tick. In my original code I am
> doing a connect because the doc indicates that Thin already starts the
> EM reactor.
> 
> Could that be an issue?

I doubt it. EventMachine is smart enough to detect that the reactor is running. In 1.0 it should
be smart enough to also detect when forking has killed it.


MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin



More information about the rabbitmq-discuss mailing list