Try using an in-memory dogpile backend to speed up the fmn backend.

This commit is contained in:
Ralph Bean 2015-01-20 13:22:41 +00:00
parent f015b4c857
commit 5f278aa7d4

View file

@ -36,15 +36,12 @@ 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.memory",
# 28800 is 8 hours.. a really long time. # 28800 is 8 hours.. a really long time.
# As of this commit: http://da.gd/oZBe that should be okay, because our # As of this commit: http://da.gd/oZBe that should be okay, because our
# backend should intelligently invalidate its pkgdb2 cache if it # backend should intelligently invalidate its pkgdb2 cache if it
# receives a pkgdb2 message. # receives a pkgdb2 message.
"expiration_time": 28800, "expiration_time": 28800,
"arguments": {
"filename": "/var/tmp/fmn-cache.dbm",
},
}, },
# The notification backend uses this to build a fas cache of ircnicks # The notification backend uses this to build a fas cache of ircnicks