You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 togo 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 thekillChannel
until after it establishes the connection to slack, which won't ever happen if the error is because the user's token is invalid.The text was updated successfully, but these errors were encountered: