mirror of
https://github.com/norohind/jubilant-system-core.git
synced 2026-10-22 23:02:08 +03:00
Add limit to retries_limit
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user