Open MaRoe opened 11 years ago
I am facing the same issue with faye-rails. When I used PrivatePub (another gem for doing same thing) it works fine even from the worker class (sidekiq worker). With faye-rails, I see that it is publishing the messages but the client never receives it.
Are you using the Redis backend? If not then you should probably just do:
client = Faye::Client.new faye_url
client.publish message
We use a redis backend.
Hey,
I ran across a strange problem lately: we have some resque workers which have to publish to faye. If I run a worker from rails console everything works fine - if the worker task is started with resque nothing happens. Any hints on that? Content of worker in gist below.
Cheers
Martin
https://gist.github.com/MaRoe/55257240d21f449ae79d