kopia lustrzana https://github.com/piku/piku
Update piku.py
Set `listen` default to below `net.core.somaxconn` default on Ubuntupull/6/head
rodzic
6b7734f4bd
commit
c8927aa60d
2
piku.py
2
piku.py
|
@ -429,7 +429,7 @@ def spawn_worker(app, kind, command, env, ordinal=1):
|
|||
('master', 'true'),
|
||||
('project', app),
|
||||
('max-requests', env.get('UWSGI_MAX_REQUESTS', '1024')),
|
||||
('listen', env.get('UWSGI_LISTEN', '4096')),
|
||||
('listen', env.get('UWSGI_LISTEN', '64')),
|
||||
('processes', env.get('UWSGI_PROCESSES', '1')),
|
||||
('procname-prefix', '%s:%s:' % (app, kind)),
|
||||
('enable-threads', env.get('UWSGI_ENABLE_THREADS', 'true').lower()),
|
||||
|
|
Ładowanie…
Reference in New Issue