Set `listen` default to below `net.core.somaxconn` default on Ubuntu
pull/6/head
Rui Carmo 2016-08-15 22:52:51 +01:00 zatwierdzone przez GitHub
rodzic 6b7734f4bd
commit c8927aa60d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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()),