turt2live / matrix-bot-sdk

TypeScript/JavaScript SDK for Matrix bots
MIT License
194 stars 68 forks source link

Don't backoff sync if stop has been called on Client. #322

Closed Half-Shot closed 10 months ago

Half-Shot commented 1 year ago

During test runs it's fairly common to run a sync loop, then end the sync loop and immediately kill the homeserver. This typically causes an exception to be thrown as the Client will be listening for a response, and will then backoff that error.