mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
No threading for the moment to address bugs, set CPU manually
This commit is contained in:
parent
e61de5b0d6
commit
f468b261dd
1 changed files with 4 additions and 2 deletions
|
@ -1,12 +1,14 @@
|
|||
require 'facter'
|
||||
|
||||
threads 5, 5
|
||||
threads 1, 1
|
||||
#threads 5, 5
|
||||
environment 'production'
|
||||
#daemonize
|
||||
pidfile '/var/run/neocities/neocities.pid'
|
||||
stdout_redirect '/var/log/neocities/neocities.stdout.log', '/var/log/neocities/neocities.stderr.log', true
|
||||
quiet
|
||||
workers Facter.value('processors')['count']
|
||||
workers 8
|
||||
#workers Facter.value('processors')['count']
|
||||
preload_app!
|
||||
on_worker_boot { DB.disconnect }
|
||||
bind 'unix:/var/run/neocities/neocities.sock?backlog=2048'
|
||||
|
|
Loading…
Add table
Reference in a new issue