소스 검색

Add PERSISTENT_TIMEOUT option (#11756)

Add environment variable to so `persistent_timeout` option of puma can be changed.
tags/v3.0.0rc1
Yamagishi Kazutoshi 1 년 전
committed by Eugen Rochko
부모
커밋
bdca8da8eb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      config/puma.rb

+ 2
- 0
config/puma.rb 파일 보기

@@ -1,3 +1,5 @@
persistent_timeout ENV.fetch('PERSISTENT_TIMEOUT') { 20 }.to_i

threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
threads threads_count, threads_count



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