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
Hey @xiaoronglv, I just pushed out version 1.1.0 that includes the option to set http options like open_timeout. You can set that at either initialization for when you call ping.
# on initializationnotifier=Slack::Notifier.new"WEBHOOK_URL",username: "foo",http_options: {open_timeout: 10}# or pingnotifier.ping"hello",http_options: {open_timeout: 10}
Hi @stevenosloan ,
slack-notifier is a wonderful gem. I use it to send notification in exception_notification (a rails / sidekiq error monitor).
Sending message is a slow IO operation which will block our App. Sometime it will frozen sidekiq worker.
https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#frozen-workers
Could you add default timeout to avoid frozen sidekiq/rails thread?
The text was updated successfully, but these errors were encountered: