From 0935e38cae2f7a60fdaf52961f5ff07e60e1a421 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 11 Jun 2014 18:36:44 +0000 Subject: [PATCH] Crank up the fmn expiry time. --- roles/notifs/backend/templates/fmn.consumer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 1448395d48..c6e8483d9f 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -31,7 +31,11 @@ config = { {% endif %} "fmn.rules.cache": { "backend": "dogpile.cache.dbm", - "expiration_time": 300, + # 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", },