openstack-ansible-memcached.../templates/memcached.suse.j2
Jonathan Rosser 5080c42f0a Reduce verbosity level when debug is true
Keystone is experiencing memecached timeouts during tempest tests in
CI, and the memcached log is in excess of 20Mbytes. There will be a lot
of write pressure on this log during tempest tests and this patch reduces
the debug log level in an attempt to increase test reliability.

Change-Id: I7db0eb361fc6f09ce64690be2018bf8ed8204e0c
2020-06-16 21:53:33 +01:00

30 lines
755 B
Django/Jinja

# {{ ansible_managed }}
{% if debug | bool %}
{% set _verbosity = '-vv' %}
{% else %}
{% set _verbosity = '-v' %}
{% endif %}
MEMCACHED_PARAMS="-U 0 -l {{ memcached_listen }} -p {{ memcached_port }} -c {{ memcached_connections }} -t {{ memcached_threads }} {{ _verbosity }}"
## Path: Network/WWW/Memcached
## Description: username memcached should run as
## Type: string
## Default: "memcached"
## Config: memcached
#
# username memcached should run as
#
MEMCACHED_USER="{{ memcached_user }}"
## Path: Network/WWW/Memcached
## Description: group memcached should be run as
## Type: string
## Default: "memcached"
## Config: memcached
#
# group memcached should be run as
#
MEMCACHED_GROUP="memcached"