Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let's create Tbot::Async #245

Open
yegor256 opened this issue Sep 10, 2024 · 0 comments
Open

let's create Tbot::Async #245

yegor256 opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

Currently, when we do settings.tbot.notify, we wait for its completion. There are two problems associated with this. First, it's slow. Second, in case of Telegram failure (it happens, often), our workflow also will fail. Let's create Tbot::Async class, which will decorate an instance of Tbot and will execute all notify calls asynchronously.

@yegor256 yegor256 added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant