From 053df891a8242499b49c912416c2e80dff6ec275 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 20 Jan 2015 15:38:51 +0000 Subject: [PATCH] Revert "Try using an in-memory dogpile backend to speed up the fmn backend." This reverts commit 5f278aa7d455b3e6a6f83da293ea43c6bea72ca8. --- roles/notifs/backend/templates/fmn.consumer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index f692d7b564..270698e387 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -36,12 +36,15 @@ config = { "fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api", {% endif %} "fmn.rules.cache": { - "backend": "dogpile.cache.memory", + "backend": "dogpile.cache.dbm", # 28800 is 8 hours.. a really long time. # As of this commit: http://da.gd/oZBe that should be okay, because our # backend should intelligently invalidate its pkgdb2 cache if it # receives a pkgdb2 message. "expiration_time": 28800, + "arguments": { + "filename": "/var/tmp/fmn-cache.dbm", + }, }, # The notification backend uses this to build a fas cache of ircnicks