mirror of
https://github.com/restic/restic.git
synced 2026-10-11 20:47:12 +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:
1 parent
6bf3d4859f
commit
db2398f35b
2 files changed
+2
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user