tcms.ini 613 B

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