mirror of
https://github.com/restic/restic.git
synced 2025-08-24 14:50:23 +00:00
make timeout for slow requests configurable
This commit is contained in:
13
changelog/unreleased/issue-4970
Normal file
13
changelog/unreleased/issue-4970
Normal file
@@ -0,0 +1,13 @@
|
||||
Enhancement: Make timeout for stuck requests customizable
|
||||
|
||||
Restic monitors connections to the backend to detect stuck requests. If a request
|
||||
does not return any data within five minutes, restic assumes the request is stuck and
|
||||
retries it. However, for large repositories it sometimes takes longer than that to
|
||||
collect a list of all files, causing the following error:
|
||||
|
||||
`List(data) returned error, retrying after 1s: [...]: request timeout`
|
||||
|
||||
It is now possible to increase the timeout using the `--stuck-request-timeout` option.
|
||||
|
||||
https://github.com/restic/restic/issues/4970
|
||||
https://github.com/restic/restic/pull/5014
|
Reference in New Issue
Block a user