1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
pyTelegramBotAPI/telebot
mrpes 0ac64469b0
Retry on requests error
Added RETRY_ON_ERROR var. If its value is true, we'll try to get proper result MAX_RETRIES times, with RETRY_TIMEOUT delay between requests. Last request will be called outside of the try block, so it will throw an exception on failure

P.S.
I'm actually not sure if there are better ways to solve this problem, but this was my way of solving it
2020-07-30 09:34:51 +05:00
..
__init__.py Merge pull request #919 from Badiboy/master 2020-07-21 01:27:32 +03:00
apihelper.py Retry on requests error 2020-07-30 09:34:51 +05:00
handler_backends.py Change class from new-style class to object class 2020-04-28 00:34:52 +05:00
types.py Merge pull request #919 from Badiboy/master 2020-07-21 01:27:32 +03:00
util.py Fix tabs 2020-07-04 20:45:48 +03:00