mirror of
https://github.com/rclone/rclone
synced 2024-12-22 13:03:02 +01:00
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.
This commit is contained in:
parent
049ff1f269
commit
4b20afa94a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user