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

Unresponsive after some time #37

Closed
gravufo opened this issue Apr 20, 2022 · 1 comment · Fixed by #39
Closed

Unresponsive after some time #37

gravufo opened this issue Apr 20, 2022 · 1 comment · Fixed by #39

Comments

@gravufo
Copy link

gravufo commented Apr 20, 2022

This sample bot stops responding if left running for a while.
I found an issue here which details the same behavior and it was fixed by restarting the websocket connection when an error is detected.

This logic should be added to the sample to prevent newbies from hitting the same issue.

@patatman
Copy link

This is a good point, I fixed it in my own bot.
I'll make a PR to fix this issue in the example.

patatman pushed a commit to patatman/mattermost-bot-sample-golang that referenced this issue May 19, 2022
@patatman patatman mentioned this issue May 19, 2022
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

Successfully merging a pull request may close this issue.

2 participants