stripe-contrib / pagerbot

Manage Pagerduty on-call schedules from within your internal chat channels.
https://stripe.com/blog/pagerbot
MIT License
277 stars 90 forks source link

Reconnect after periodic Slack RTM disconnects? #70

Open craustin opened 4 years ago

craustin commented 4 years ago

We're seeing periodic disconnects in SlackRTMAdapter after a few hours. The maximum duration of a slack RTM session is 8 hours, so I figure it's that: https://api.slack.com/events/goodbye

I figure the right thing to do here is to reconnect, but I don't see logic for that. Is there a prescribed solution to this that I'm missing?