summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2
blob: 495febb19f2f234f0e5b4e32333403b0c6baa9ce (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
logto = {{ log_dir }}/uwsgi.log
socket = {{ socket_file }}
{# If virtual environment, we need to add:
   virtualenv = <virtual_env> #}