mirror of
https://github.com/norohind/jubilant-system-core.git
synced 2025-04-18 20:17:37 +03:00
Add limit to retries_limit
This commit is contained in:
parent
75481be976
commit
3791074eb4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user