mirror of
https://github.com/octoleo/restic.git
synced 2025-01-11 10:18:10 +00:00
backend: increase request progress timeout to 5 minutes
Apparently, 2 minutes are too short in some cases and can result in canceled List requests.
This commit is contained in:
parent
6bf3d4859f
commit
db2398f35b
@ -29,3 +29,4 @@ https://github.com/restic/restic/issues/1523
|
||||
https://github.com/restic/restic/pull/4520
|
||||
https://github.com/restic/restic/pull/4800
|
||||
https://github.com/restic/restic/pull/4784
|
||||
https://github.com/restic/restic/pull/4844
|
||||
|
@ -143,7 +143,7 @@ func Transport(opts TransportOptions) (http.RoundTripper, error) {
|
||||
}
|
||||
|
||||
if feature.Flag.Enabled(feature.BackendErrorRedesign) {
|
||||
rt = newWatchdogRoundtripper(rt, 120*time.Second, 128*1024)
|
||||
rt = newWatchdogRoundtripper(rt, 5*time.Minute, 128*1024)
|
||||
}
|
||||
|
||||
// wrap in the debug round tripper (if active)
|
||||
|
Loading…
Reference in New Issue
Block a user