forked from TrueCloudLab/restic
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
2 changed files with 2 additions and 1 deletions
|
@ -29,3 +29,4 @@ https://github.com/restic/restic/issues/1523
|
||||||
https://github.com/restic/restic/pull/4520
|
https://github.com/restic/restic/pull/4520
|
||||||
https://github.com/restic/restic/pull/4800
|
https://github.com/restic/restic/pull/4800
|
||||||
https://github.com/restic/restic/pull/4784
|
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) {
|
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)
|
// wrap in the debug round tripper (if active)
|
||||||
|
|
Loading…
Reference in a new issue