You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, that's the way it works I'm afraid. Unicorn isn't built on top of eventmachine, thus you don't have the loop running.
It would be nice to support async triggering in rails that just works, but I haven't been able to devote any time to this as yet. For now, starting an eventmachine loop in a thread should work (Thread.new { EM.run }), but you should verify how this plays with the unicorn forking model.
I'm using
unicorn
withtrigger_async
, and also haveem-http-request
in the Gemfile.Running Rails, with pusher-gem (master), on Heroku.
I get:
The text was updated successfully, but these errors were encountered: