Skip to content

Commit

Permalink
Include warning about S3 timeout behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenchen13 committed Jul 8, 2020
1 parent c07dff7 commit 5d24701
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion guides/source/active_storage_overview.md
Expand Up @@ -120,7 +120,7 @@ amazon:
bucket: ""
```

Optionally provide a Hash of upload options:
Optionally provide client and upload options:

```yaml
amazon:
Expand All @@ -129,9 +129,13 @@ amazon:
secret_access_key: ""
region: ""
bucket: ""
http_open_timeout: 0
http_read_timeout: 0
retry_limit: 0
upload:
server_side_encryption: "" # 'aws:kms' or 'AES256'
```
TIP: Set sensible client HTTP timeouts and retry limits for your application. In certain failure scenarios, the default AWS client configuration may cause connections to be held for up to several minutes and lead to request queuing.

Add the [`aws-sdk-s3`](https://github.com/aws/aws-sdk-ruby) gem to your `Gemfile`:

Expand Down

0 comments on commit 5d24701

Please sign in to comment.