From 5f278aa7d455b3e6a6f83da293ea43c6bea72ca8 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 20 Jan 2015 13:22:41 +0000 Subject: [PATCH] Try using an in-memory dogpile backend to speed up the fmn backend. --- roles/notifs/backend/templates/fmn.consumer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 270698e387..f692d7b564 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -36,15 +36,12 @@ config = { "fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api", {% endif %} "fmn.rules.cache": { - "backend": "dogpile.cache.dbm", + "backend": "dogpile.cache.memory", # 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