Created
November 27, 2015 14:11
-
-
Save mlowicki/9a5042b5411537a51bbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# uWSGI configuration for sync | |
# | |
# This uwsgi configuration is managed by Puppet. | |
# Do not edit this file. Your changes will be lost. | |
[uwsgi] | |
# Setuid to the specified user/uid | |
uid = uwsgi | |
# Setgid to the specified group/gid | |
gid = uwsgi | |
vhost = | |
# Load uWSGI plugins (comma-separated) | |
plugins = python | |
socket = /run/uwsgi/app/sync/socket | |
chmod-socket = 666 | |
master = true | |
enable-threads = true | |
processes = 32 | |
cpu-affinity = 1 | |
wsgi-file = /var/www/sync/app/current/src/bin/django.wsgi | |
# Every request that will take longer than the seconds specified in the | |
# harakiri timeout will be dropped and the corresponding worker is thereafter | |
# recycled. | |
harakiri = 40 | |
# Log only errors | |
disable-logging = true | |
listen = 4096 | |
stats = /var/run/uwsgi/app/sync/statsocket | |
threads = 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment