wsgi.ini 313 B

1234567891011121314151617
  1. [uwsgi]
  2. module = web
  3. callable = app
  4. plugin = python3
  5. master = true
  6. processes = 5
  7. socket = /tmp/news-backend.sock
  8. chmod-socket = 666
  9. vacuum = true
  10. die-on-term = true
  11. enable-threads = true
  12. # use threads instead of processes
  13. lazy-apps = true
  14. # avoids threadpools to be opened in the master but not in the workers