tcms.ini 638 B

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