Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [uwsgi]
- module = project.wsgi:application
- master = true
- pidfile = django.uwsgi.pid
- enable-threads = true
- http = 127.0.0.1:8000
- processes = 5
- # respawn processes taking more than 50 seconds
- harakiri = 50
- # respawn processes after serving 5000 requests
- max-requests = 5000
- # clear environment on exit
- vacuum = true
- # optional path to a virtualenv
- home = venv
- # background the process
- daemonize = django.uwsgi.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement