Use memcached as koschei dogpile cache backend

This commit is contained in:
Michael Simacek 2016-04-13 17:57:31 +02:00
parent f5e1a6096e
commit 1572dcbbac
2 changed files with 13 additions and 0 deletions

View file

@ -106,6 +106,14 @@ config = {
"topic_re": r'\.prod\.pkgdb\.',
{% endif %}
"sync_tracked": True,
"cache": {
"backend": "dogpile.cache.memcached",
"expiration_time": 300,
"arguments": {
"url": "memcached01",
"distributed_lock": True,
},
},
},
"frontend": {
"auto_tracking": True,

View file

@ -7,3 +7,8 @@
- config
- packages
- yumrepos
- name: Install common packages
package: name={{ item }} state=present
with_items:
- python-memcached