source: OpenWorkouts-current/etc/uwsgi_development.ini

current
Last change on this file was 8ee2af5, checked in by Borja Lopez <borja@…>, 4 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]
2http = 0.0.0.0:9999
3daemonize = $(PWD)/var/log/uwsgi/uwsgi.log
4pidfile = $(PWD)/var/run/uwsgi.pid
5processes = 2
6threads = 10
7master = true
8lazy = true
9ftok = %p
10virtualenv = $(PWD)/env
11env = PYTHON_EGG_CACHE=$(PWD)/var/tmp/egg_cache
12manage-script-name = true
13mount=/=$(PWD)/etc/development.wsgi
14; disable requests log (GET/POST)
15disable-logging = true
16; set the log file for all the other logging
17logto = $(PWD)/var/log/uwsgi/uwsgi.log
18; SIGTERM exists, instead of a dirty reload
19die-on-term = true
Note: See TracBrowser for help on using the repository browser.