Use memcached as koschei dogpile cache backend
This commit is contained in:
parent
f5e1a6096e
commit
1572dcbbac
2 changed files with 13 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -7,3 +7,8 @@
|
|||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- name: Install common packages
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
- python-memcached
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue