mirror of
https://github.com/restic/restic.git
synced 2025-08-13 21:30:00 +00:00
rclone: Fix timeout calculation
This commit is contained in:
@@ -222,7 +222,7 @@ func newBackend(cfg Config, lim limiter.Limiter) (*Backend, error) {
|
||||
// send an HTTP request to the base URL, see if the server is there
|
||||
client := &http.Client{
|
||||
Transport: debug.RoundTripper(tr),
|
||||
Timeout: cfg.Timeout * 60 * time.Second,
|
||||
Timeout: cfg.Timeout,
|
||||
}
|
||||
|
||||
// request a random file which does not exist. we just want to test when
|
||||
|
Reference in New Issue
Block a user