From 4b20afa94ab9e02e5174b435de9e840d217285e5 Mon Sep 17 00:00:00 2001 From: Aleksandar Jankovic Date: Thu, 31 Oct 2019 16:42:16 +0100 Subject: [PATCH] backend/s3: fix ExpiryWindow value ExpiryWindow accepts duration but it was set to value 3. This changes it to 3 * time.Minute since default is 5 min. --- backend/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index d19bd70fe..f7c3f46f3 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -961,7 +961,7 @@ func s3Connection(opt *Options) (*s3.S3, *session.Session, error) { Client: ec2metadata.New(session.New(), &aws.Config{ HTTPClient: lowTimeoutClient, }), - ExpiryWindow: 3, + ExpiryWindow: 3 * time.Minute, }, } cred := credentials.NewChainCredentials(providers)