This website works better with JavaScript.
Home
Explore
Help
Sign In
abunchtell
/
mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Activity
Browse Source
Add timeouts for S3 (
#9842
)
master
Eugen Rochko
5 years ago
committed by
GitHub
parent
69f782b54d
commit
4699cf853c
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
config/initializers/paperclip.rb
+ 3
- 0
config/initializers/paperclip.rb
View File
@@ -36,6 +36,9 @@ if ENV['S3_ENABLED'] == 'true'
},
},
s3_options: {
s3_options: {
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
http_open_timeout: 5,
http_read_timeout: 5,
http_idle_timeout: 5,
}
}
)
)
Write
Preview
Loading…
Cancel
Save