mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
revert to auto processor count for puma/rainbows
This commit is contained in:
parent
1c98e591af
commit
83e307674d
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ daemonize
|
||||||
pidfile '/var/run/neocities/neocities.pid'
|
pidfile '/var/run/neocities/neocities.pid'
|
||||||
stdout_redirect '/var/log/neocities/neocities.log', '/var/log/neocities/neocities-errors.log', true
|
stdout_redirect '/var/log/neocities/neocities.log', '/var/log/neocities/neocities-errors.log', true
|
||||||
quiet
|
quiet
|
||||||
workers 4
|
workers processor_count
|
||||||
worker_timeout 600
|
worker_timeout 600
|
||||||
preload_app!
|
preload_app!
|
||||||
on_worker_boot { DB.disconnect }
|
on_worker_boot { DB.disconnect }
|
||||||
|
|
|
@ -21,7 +21,7 @@ Rainbows! do
|
||||||
|
|
||||||
client_max_body_size 100*1024*1024 # 100 Megabytes
|
client_max_body_size 100*1024*1024 # 100 Megabytes
|
||||||
|
|
||||||
worker_processes 4
|
worker_processes processor_count
|
||||||
worker_connections 32
|
worker_connections 32
|
||||||
timeout 600 # 10 minutes
|
timeout 600 # 10 minutes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue