mirror of
https://github.com/restic/restic.git
synced 2025-10-09 07:33:53 +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:
@@ -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