mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
old doc link -> new doc link
parent
92b2503004
commit
9c085c59bd
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ while not application.update_queue.empty():
|
||||||
coroutine = application.process_update(update)
|
coroutine = application.process_update(update)
|
||||||
asyncio.create_task(do_process_update(update, coroutine))
|
asyncio.create_task(do_process_update(update, coroutine))
|
||||||
```
|
```
|
||||||
This is just an example of how to use the `BaseUpdateProcessor` class to handle updates in the way you want, there are endless possibilities to this. See the [documentation](https://python-telegram-bot.readthedocs.io/en/latest/telegram.ext.baseupdateprocessor.html#telegram.ext.BaseUpdateProcessor) for more information.
|
This is just an example of how to use the `BaseUpdateProcessor` class to handle updates in the way you want, there are endless possibilities to this. See the [documentation](https://docs.python-telegram-bot.org/en/latest/telegram.ext.baseupdateprocessor.html#telegram.ext.BaseUpdateProcessor) for more information.
|
||||||
|
|
||||||
**Note:** The number of concurrently processed updates is limited (the limit defaults to 4096 updates at a time).
|
**Note:** The number of concurrently processed updates is limited (the limit defaults to 4096 updates at a time).
|
||||||
This is a simple measure to avoid e.g. DDOS attacks
|
This is a simple measure to avoid e.g. DDOS attacks
|
||||||
|
|
Loading…
Reference in a new issue