Add some retry capabilities on server error #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: King_DuckZ/orotool#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The daemon should not quit immediately if the communication with the server fails. There should be some new settings in the ini file that allow to set how many retries should be attempted before giving up, or possibly to keep trying forever. Another setting sholud be added to specify an amount of time to wait between retries.
In code, this means the API nap backend should throw an exception that timers can easily recognise and react to, unless a better way is found.
Implemented at commit
36b0c6f6f0