current
Last change
on this file since 4fea0a0 was
8ee2af5,
checked in by Borja Lopez <borja@…>, 5 years ago
|
Added the scripts and config files to run uwsgi instead of pserve
for development.
This fixes a problem that caused pserve to hang up forever when
several ajax requests were sent to generate screenshots of workout
maps (pserve does not handle concurrent requests very well).
After pulled this change, you can start the app manually using the
uwsgi_start helper::
./bin/uwsgi_start development
Or just use the ./bin/start script, which takes care also of starting
ZEO and several other steps.
|
-
Property mode set to
100644
|
File size:
507 bytes
|
Line | |
---|
1 | [uwsgi] |
---|
2 | http = 0.0.0.0:9999 |
---|
3 | daemonize = $(PWD)/var/log/uwsgi/uwsgi.log |
---|
4 | pidfile = $(PWD)/var/run/uwsgi.pid |
---|
5 | processes = 2 |
---|
6 | threads = 10 |
---|
7 | master = true |
---|
8 | lazy = true |
---|
9 | ftok = %p |
---|
10 | virtualenv = $(PWD)/env |
---|
11 | env = PYTHON_EGG_CACHE=$(PWD)/var/tmp/egg_cache |
---|
12 | manage-script-name = true |
---|
13 | mount=/=$(PWD)/etc/development.wsgi |
---|
14 | ; disable requests log (GET/POST) |
---|
15 | disable-logging = true |
---|
16 | ; set the log file for all the other logging |
---|
17 | logto = $(PWD)/var/log/uwsgi/uwsgi.log |
---|
18 | ; SIGTERM exists, instead of a dirty reload |
---|
19 | die-on-term = true |
---|
Note: See
TracBrowser
for help on using the repository browser.