12345678910111213141516171819202122232425262728 |
- # default uWSGI configuration file for tCMS
- [uwsgi]
- master = 1
- processes = 20
- plugin = psgi
- socket = run/tcms.sock
- thunder-lock = 1
- safe-pidfile=run/tcms.pid
- daemonize = 1
- # Respawn workers after X requests, just in case there are subtle memory leaks
- max-requests = 1024
- # Speed up reloads, don't run 2 instances or you'll die
- reuse-port = 1
- # Reporting
- memory-report = 1
- # TODO figure out why things break without this
- lazy-apps = 1
- # TODO use mount options to do virtual hosting
- psgi = www/server.psgi
- touch-reload = www/server.psgi
- fs-reload = lib/
- #TODO touch-reload the custom routes in themes, or get rid of them being needed
|