forked from binary-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bot]fix: handle already subscribed error for blocks with candle bloc…
…ks by… (binary-com#13309) * fix: handle already subscribed error for blocks with candle blocks by unsubscribing candle request * fix: added forgetAll call to handle alreadySubscribed error * fix: added setTimeout before executing start and stop of the bot * fix: add recovery mechanism once alreadySubscribed error occurs * fix: added logic so that bot recovers when alreadySubscribed error occurs * fix: added a flag to avoid user from clicking until the bot stops * fix: unregister bot.click_stop event in case of errors * fix: added flag to check if bot is already stopping in stopBot function * fix: added condition to check if api_base.api is present before making the call
- Loading branch information
1 parent
d1c6d42
commit 9a02b06
Showing
5 changed files
with
43 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters