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:
|
tags:
|
||||||
- notifs
|
- notifs
|
||||||
- notifs/frontend
|
- notifs/frontend
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: ensure selinux lets httpd talk to postgres
|
- name: ensure selinux lets httpd talk to postgres and memcached
|
||||||
seboolean: name=httpd_can_network_connect_db state=yes persistent=yes
|
seboolean: name={{item}} state=yes persistent=yes
|
||||||
|
with_items:
|
||||||
|
- httpd_can_network_db
|
||||||
|
- httpd_can_network_memcache
|
||||||
tags:
|
tags:
|
||||||
- notifs
|
- notifs
|
||||||
- notifs/frontend
|
- notifs/frontend
|
||||||
|
- selinux
|
||||||
|
|
|
@ -33,10 +33,10 @@ config = {
|
||||||
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api",
|
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"fmn.rules.cache": {
|
"fmn.rules.cache": {
|
||||||
"backend": "dogpile.cache.dbm",
|
"backend": "dogpile.cache.memcached",
|
||||||
"expiration_time": 3600, # 3600 is 1 hour
|
"expiration_time": 3600, # 3600 is 1 hour
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"filename": "/var/tmp/fmn-cache.dbm",
|
"url": "memcached02:11211",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue