kopia lustrzana https://github.com/piku/piku
More thread tweaking
rodzic
b6241b800c
commit
02e3c222f5
2
piku.py
2
piku.py
|
@ -120,6 +120,8 @@ def deploy_python(app, workers):
|
||||||
('project', app),
|
('project', app),
|
||||||
('max-requests', '1000'),
|
('max-requests', '1000'),
|
||||||
('processes', '2'),
|
('processes', '2'),
|
||||||
|
('enable-threads', 'true'),
|
||||||
|
('threads', '4'),
|
||||||
('logto', "%s.log" % join(LOG_ROOT, app)),
|
('logto', "%s.log" % join(LOG_ROOT, app)),
|
||||||
('env', 'WSGI_PORT=http'),
|
('env', 'WSGI_PORT=http'),
|
||||||
('env', 'PORT=%d' % port)
|
('env', 'PORT=%d' % port)
|
||||||
|
|
Ładowanie…
Reference in New Issue