mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
puma: use phased restart instead of preload
This commit is contained in:
parent
350a7039c7
commit
f387059c66
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ pidfile '/var/run/neocities/neocities.pid'
|
||||||
stdout_redirect '/var/log/neocities/neocities.stdout.log', '/var/log/neocities/neocities.stderr.log', true
|
stdout_redirect '/var/log/neocities/neocities.stdout.log', '/var/log/neocities/neocities.stderr.log', true
|
||||||
quiet
|
quiet
|
||||||
workers Facter.value('processors')['count']
|
workers Facter.value('processors')['count']
|
||||||
preload_app!
|
#preload_app!
|
||||||
|
prune_bundler
|
||||||
on_worker_boot { DB.disconnect }
|
on_worker_boot { DB.disconnect }
|
||||||
bind 'unix:/var/run/neocities/neocities.sock?backlog=2048'
|
bind 'unix:/var/run/neocities/neocities.sock?backlog=2048'
|
||||||
supported_http_methods Puma::Const::IANA_HTTP_METHODS
|
supported_http_methods Puma::Const::IANA_HTTP_METHODS
|
||||||
|
|
Loading…
Add table
Reference in a new issue