1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 13:19:30 +00:00

small rework in ExceptionsOnlyLimiter

This commit is contained in:
2020-11-11 11:23:24 +06:00
parent d83e3eb10a
commit 53800d49bf
4 changed files with 27 additions and 21 deletions

View File

@@ -10,6 +10,7 @@
exception
* `EmptyLimiter` has been renamed to `ExceptionsOnlyLimiter` and currently will stop requests after
`TooMuchRequestsException` happen until retry time is actual
* Now `ExceptionsOnlyLimiter` (previously `EmptyLimiter`) is a class
* `AbstractRequestCallFactory` currently will not look at the response and wait if it have `RetryAfter` error. New
behaviour aimed on delegating of this work to `RequestsLimiter`