From b942f61272af45c5a5c02d2bc8265a4065c65304 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 17 Apr 2017 19:18:58 +0200 Subject: [PATCH] s3: Reduce connection limit, prevents timeouts --- src/restic/backend/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restic/backend/s3/s3.go b/src/restic/backend/s3/s3.go index f59a92a15..18548ef40 100644 --- a/src/restic/backend/s3/s3.go +++ b/src/restic/backend/s3/s3.go @@ -17,7 +17,7 @@ import ( "restic/debug" ) -const connLimit = 40 +const connLimit = 10 // s3 is a backend which stores the data on an S3 endpoint. type s3 struct {