summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2
blob: c049daf848ba5630e51e4bdbfa878aa9b8ec9aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[uwsgi]
master = true
debug = true
chdir = {{ yardstick_dir }}api
module = server
plugins = python
processes = 10
threads = 5
async = true
max-requests = 5000
chmod-socket = 666
callable = app_wrapper
enable-threads = true
close-on-exec = 1
daemonize = {{ log_dir }}uwsgi.log
socket = {{ socket_file }}
{# If virtual environment, we need to add:
   virtualenv = <virtual_env> #}