python-telegram-handler icon indicating copy to clipboard operation
python-telegram-handler copied to clipboard

Asynchronous logging

Open gionn opened this issue 3 years ago • 0 comments

Looking at the code seems that http requests to telegram api are synchronous, meaning that in case of network latency or errors it will lag the execution.

It would be great to spawn requests on an executor or something similar to avoid blocking the execution while using this handler.

Thanks!

gionn avatar Jan 24 '22 18:01 gionn