소스 검색

Add timeouts for S3 (#9842)

master
Eugen Rochko 5 년 전
committed by GitHub
부모
커밋
4699cf853c
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      config/initializers/paperclip.rb

+ 3
- 0
config/initializers/paperclip.rb 파일 보기

@@ -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,
}
)



불러오는 중...
취소
저장