mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Introduce a semaphore-based mechanism to control the number of concurrent tasks in polling mode when `handle_as_tasks=True`. Added the `tasks_concurrency_limit` parameter to `start_polling()` and `run_polling()`, preventing potential memory exhaustion during high update loads. |
||
|---|---|---|
| .. | ||
| test_event | ||
| test_middlewares | ||
| __init__.py | ||
| test_dispatcher.py | ||
| test_router.py | ||