Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect or Connection Health Test? #32

Open
asteigleder opened this issue Aug 7, 2019 · 0 comments
Open

Reconnect or Connection Health Test? #32

asteigleder opened this issue Aug 7, 2019 · 0 comments

Comments

@asteigleder
Copy link

Good afternoon, I have been using your module for past year, and it has been great! However, we are noticing an increased rate of RTM API disconnects where the bot will appear to be unresponsive, however the it is still "listening" for RTM events.

I am struggling to find a way to test for the connection and health of the $bot object. Short of a netstat solution of course.

Do you have a recommended approach for instructing the object to reconnect or query the established nature of the connection? Even something like unless($bot->is_connected) { die() }

Appreciate your time and hard work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant