Try Thread.abort_on_exception=true
On Sun, Sep 4, 2016 at 8:18 PM Arindam Mukherjee
wrote:
> I am running EM reactor on a separate thread in Ruby application. I use it
> to read requests off AMQP and respond. I noticed that after processing one
> or two requests the processing stops - I figured this out by starting a
> periodic timer:
>
> EM.add_periodic_time(2) do
> puts "Tick"
> end
>
> I have noticed that this stops printing the ticks after a while. But I can
> get any further on why the loop is terminating - an exception maybe? How
> can I debug this?
>
> Arindam
>
> --
> You received this message because you are subscribed to the Google Groups
> "EventMachine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to eventmachine+unsubscr...@googlegroups.com.
> To post to this group, send email to eventmachine@googlegroups.com.
> Visit this group at https://groups.google.com/group/eventmachine.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"EventMachine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to eventmachine+unsubscr...@googlegroups.com.
To post to this group, send email to eventmachine@googlegroups.com.
Visit this group at https://groups.google.com/group/eventmachine.
For more options, visit https://groups.google.com/d/optout.