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

ManageConnection Loops forever after account_inactive event #65

Closed
prashanthsadasivan opened this issue Mar 22, 2016 · 0 comments
Closed

Comments

@prashanthsadasivan
Copy link
Contributor

I'm writing a slackbot service, and I noticed that when a user disconnects my slack app, even after I call rtm.Disconnect() my call to go rtm.ManageConnection() is continually attempting to reconnect with exponential backoff, and I have no way to tell it to stop running.

Is this a known issue? It looks like, from the code, that the unexported function rtm.connect doesn't listen to the killChannel until after it establishes the connection to slack, which won't ever happen if the error is because the user's token is invalid.

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