Title: Sequential processing for single user, but async processing for different · Issue #3575 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Sequential processing for single user, but async processing for different · Issue #3575 · python-telegram-bot/python-telegram-bot
X Title: Sequential processing for single user, but async processing for different · Issue #3575 · python-telegram-bot/python-telegram-bot
Description: Issue I am facing I set .concurrent_updates(True) in my bot to make it fully asynchronous. Is it possible to process updates for a single user sequentially one-by-one, but keep bot asynchronous for other users? I'm asking this question, ...
Open Graph Description: Issue I am facing I set .concurrent_updates(True) in my bot to make it fully asynchronous. Is it possible to process updates for a single user sequentially one-by-one, but keep bot asynchronous for...
X Description: Issue I am facing I set .concurrent_updates(True) in my bot to make it fully asynchronous. Is it possible to process updates for a single user sequentially one-by-one, but keep bot asynchronous for...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/3575
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sequential processing for single user, but async processing for different","articleBody":"### Issue I am facing\r\n\r\nI set `.concurrent_updates(True)` in my bot to make it fully asynchronous.\r\nIs it possible to process updates for a single user sequentially one-by-one, but keep bot asynchronous for other users?\r\n\r\nI'm asking this question, because I'm afraid of race conditions while accessing DB for a single user. Sequential processing would fully solve my problem.\r\n\r\n### Traceback to the issue\r\n\r\n_No response_\r\n\r\n### Related part of your code\r\n\r\n_No response_\r\n\r\n### Operating System\r\n\r\nUbuntu\r\n\r\n### Version of Python, python-telegram-bot & dependencies\r\n\r\n```shell\r\n20.1\r\n```\r\n","author":{"url":"https://github.com/karfly","@type":"Person","name":"karfly"},"datePublished":"2023-03-06T17:12:22Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/3575"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a2003906-faf5-38ba-622f-966202741f0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEBE:E4B02:407C5:52C3D:6B027DE8 |
| html-safe-nonce | 15e2f5a9aa1ade72ee8e33f0d915ad1830149e07ffb4ff578f3f92b9adc4f724 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUJFOkU0QjAyOjQwN0M1OjUyQzNEOjZCMDI3REU4IiwidmlzaXRvcl9pZCI6Ijg0OTc0MDEyOTI5Mjk1MzEzNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12a996ab6adccae0fe76d90e58b65b856956948dde47188c00f4150a18e5c2bc |
| hovercard-subject-tag | issue:1611871500 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/3575/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3fb2ecf3845f7be408b57258988f3255dbe878a5dcdb86d96a3c0866fd51a497/python-telegram-bot/python-telegram-bot/issues/3575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fb2ecf3845f7be408b57258988f3255dbe878a5dcdb86d96a3c0866fd51a497/python-telegram-bot/python-telegram-bot/issues/3575 |
| og:image:alt | Issue I am facing I set .concurrent_updates(True) in my bot to make it fully asynchronous. Is it possible to process updates for a single user sequentially one-by-one, but keep bot asynchronous for... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | karfly |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width