mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
dispatcher: a little performance improvment
This commit is contained in:
parent
78f9bdcac9
commit
dd8b6219b9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def _pooled():
|
|||
"""
|
||||
A wrapper to run a thread in a thread pool
|
||||
"""
|
||||
while True:
|
||||
while 1:
|
||||
try:
|
||||
func, args, kwargs = ASYNC_QUEUE.get()
|
||||
|
||||
|
|
Loading…
Reference in a new issue