HookSystem._last_records adjust retries count 10 -> 30

This commit is contained in:
norohind 2022-06-14 15:31:17 +03:00
parent 1dfaa3cde2
commit 00e58c43bd
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -22,7 +22,7 @@ def check_int(func: callable) -> callable:
def _last_records(operation_id: int, limit: int) -> list[dict]:
last_exception: Exception | None = None
for retry in range(0, 10):
for retry in range(0, 30):
try:
return Hook.get_db().execute(
HookUtils.SQL_REQUESTS.GET_HISTORICAL_INFO,