Skip to content

Reconnect or Connection Health Test? #32

Description

@asteigleder

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions