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

[FEATURE] Add a way to introspect how many updates are currently being processed concurrently #3984

Open
clot27 opened this issue Nov 25, 2023 · 0 comments

Comments

@clot27
Copy link
Member

clot27 commented Nov 25, 2023

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

As of now, we can't know how many updates are being processed while using BUP, it would be good to have that for debugging purposes.

Describe the solution you'd like

See #3654 (comment)

Describe alternatives you've considered

Currently, you can use app.update_processor._semaphore._value to get those (I suppose).

Additional context

Was originally suggested by harshil in dev chat IIRC :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant