Add limit to retries_limit

This commit is contained in:
norohind committed 2022-05-03 22:01:48 +03:00
1 parent 75481be976
commit 3791074eb4
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ def _last_records(operation_id: int, limit: int) -> list[dict]:
continue
with open('retries_list.txt', mode='a') as retries_file:
retries_file.write(f'{operation_id}\n')
retries_file.write(f'{operation_id}:{limit} \n')
raise last_exception