Closed sebastianarena closed 8 years ago
Thanks. However I have added another options to set timeout.
Yes, the option for setting timeout doesn't really help. An easy way to test this problem is to open to instances of the bot and see how both of them start to go through the "stopped polling" if-branch and then spiral out of control. With this fix they should still throw the error, but don't span infinite callbacks.
I've been dealing with tons of 409 errors. Which I still don't know where they came from. In the meantime I did find that these errors lead to some other unwanted problems which I believe I fix with this code. Feel free to ask any questions about it!