-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Set timeouts for backend connections #4193
Copy link
Copy link
Closed
Labels
Description
Output of restic version
0.15.1
What should restic do differently? Which functionality do you think we should add?
Set proper timeouts for requests. A broken network connection currently causes restic to stall waiting for 15 minutes. This delay is longer than the maximum timespan during which requests are retried. Consequently, the whole operation fails.
In addition, it is bad for performance.
Ideally, the timeouts interrupted connections which make no progress for e.g. a minute. That way the timeouts would be independent of the connection speed.
What are you trying to do? What problem would this solve?
Reactions are currently unavailable