From e9158e857a78121008b22c63156175b237441b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 18 Oct 2024 16:32:59 +0200 Subject: [PATCH] Bugzilla2fedmsg: prepare the caching configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../bugzilla2fedmsg/templates/fedora-messaging.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml b/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml index b933e4b618..971492b76f 100644 --- a/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml +++ b/roles/openshift-apps/bugzilla2fedmsg/templates/fedora-messaging.toml @@ -52,6 +52,11 @@ certfile = "/etc/pki/fedora-messaging/bugzilla2fedmsg-cert.pem" # Whether to modify messages to look more like Bugzilla 4 ones did bz4compat = true + [consumer_config.cache] + backend = "dogpile.cache.memory" + expiration_time = 60 + arguments = {} + [client_properties] app = "bugzilla2fedmsg"