Sfoglia il codice sorgente

Add timeouts for S3 (#9842)

master
Eugen Rochko 5 anni fa
committed by GitHub
parent
commit
4699cf853c
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      config/initializers/paperclip.rb

+ 3
- 0
config/initializers/paperclip.rb Vedi File

@@ -36,6 +36,9 @@ if ENV['S3_ENABLED'] == 'true'
},
s3_options: {
signature_version: ENV.fetch('S3_SIGNATURE_VERSION') { 'v4' },
http_open_timeout: 5,
http_read_timeout: 5,
http_idle_timeout: 5,
}
)



Caricamento…
Annulla
Salva