mirror of https://github.com/restic/restic.git
s3: Reduce connection limit, prevents timeouts
This commit is contained in:
parent
e3d1badfcf
commit
b942f61272
|
@ -17,7 +17,7 @@ import (
|
||||||
"restic/debug"
|
"restic/debug"
|
||||||
)
|
)
|
||||||
|
|
||||||
const connLimit = 40
|
const connLimit = 10
|
||||||
|
|
||||||
// s3 is a backend which stores the data on an S3 endpoint.
|
// s3 is a backend which stores the data on an S3 endpoint.
|
||||||
type s3 struct {
|
type s3 struct {
|
||||||
|
|
Loading…
Reference in New Issue