Skip to content

Commit

Permalink
Add timeouts for S3 (mastodon#9842)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Jan 18, 2019
1 parent 36da0db commit 09fd7d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/paperclip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
},
s3_options: {
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
http_open_timeout: 5,
http_read_timeout: 5,
http_idle_timeout: 5,
}
)

Expand Down

0 comments on commit 09fd7d4

Please sign in to comment.