Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Disable deprecated automatic promise cancellation in telegram #298

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

hlxid
Copy link
Member

@hlxid hlxid commented Nov 9, 2021

Closes #267
Previously the telegram library automatically would enable bluebird promise cancellation. It is recommended to set the NTBA_FIX_319 environment variable to disable automatic activation and only enable it if needed. We don't use promise cancellation arround here and anyone using our telegram service propably doesn't either. If this is the case they should enable it themselfs.

Closes #267
Previously the telegram library automatically would enable bluebird promise cancellation. It is recommended to set the `NTBA_FIX_319` environment variable to disable automatic activation and only enable it if needed. We don't use promise cancellation arround here and anyone using our telegram service propably doesn't either. If this is the case they should enable it themselfs.
@hlxid hlxid merged commit 5d0caf5 into master Nov 9, 2021
@hlxid hlxid deleted the fix/267-telegram-promise-cancellation branch November 9, 2021 18:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

telegram-bot-api: Automatic enabling of cancellation of promises is deprecated
1 participant