Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

backend/s3: fix ExpiryWindow value

Aleksandar Jankovic4b20afa94ab9
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)