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