This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add PERSISTENT_TIMEOUT option (
#11756
)
Add environment variable to so `persistent_timeout` option of puma can be changed.
pull/4/head
Yamagishi Kazutoshi
5 years ago
committed by
Eugen Rochko
parent
80f86f290f
commit
bdca8da8eb
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
config/puma.rb
+ 2
- 0
config/puma.rb
View File
@ -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
Write
Preview
Loading…
Cancel
Save