Have the fmn frontend use memcached.
This commit is contained in:
parent
f57c9b04fb
commit
28c11a57a7
2 changed files with 9 additions and 4 deletions
|
@ -92,9 +92,14 @@
|
|||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
- selinux
|
||||
|
||||
- name: ensure selinux lets httpd talk to postgres
|
||||
seboolean: name=httpd_can_network_connect_db state=yes persistent=yes
|
||||
- name: ensure selinux lets httpd talk to postgres and memcached
|
||||
seboolean: name={{item}} state=yes persistent=yes
|
||||
with_items:
|
||||
- httpd_can_network_db
|
||||
- httpd_can_network_memcache
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
- selinux
|
||||
|
|
|
@ -33,10 +33,10 @@ config = {
|
|||
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api",
|
||||
{% endif %}
|
||||
"fmn.rules.cache": {
|
||||
"backend": "dogpile.cache.dbm",
|
||||
"backend": "dogpile.cache.memcached",
|
||||
"expiration_time": 3600, # 3600 is 1 hour
|
||||
"arguments": {
|
||||
"filename": "/var/tmp/fmn-cache.dbm",
|
||||
"url": "memcached02:11211",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue