mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-15 06:38:51 +00:00
Add PERSISTENT_TIMEOUT option (#11756)
Add environment variable to so `persistent_timeout` option of puma can be changed.
This commit is contained in:
parent
80f86f290f
commit
bdca8da8eb
|
@ -1,3 +1,5 @@
|
||||||
|
persistent_timeout ENV.fetch('PERSISTENT_TIMEOUT') { 20 }.to_i
|
||||||
|
|
||||||
threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
|
threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
|
||||||
threads threads_count, threads_count
|
threads threads_count, threads_count
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue