mirror of
https://github.com/restic/restic.git
synced 2025-04-25 23:40:46 +00:00
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…
x
Reference in New Issue
Block a user