duck8823 / duck8823/Slack-RTM-Bot

Reconnect or Connection Health Test?

Open
#32 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Perl
Stars
18
Forks
9
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.