From 543d0bedb8b89556f2deb575b7d658d44f6c22e9 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 12 Feb 2015 15:03:50 +0000 Subject: [PATCH] Add new FMN settings. --- roles/notifs/backend/templates/fmn.consumer.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 0734d3257b..a05e63f603 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -22,6 +22,18 @@ config = { "fmn.consumer.enabled": True, "fmn.sqlalchemy.uri": "postgresql://{{notifs_db_user}}:{{notifs_db_password}}@db-notifs/notifications", + # Auto create accounts for new packagers. + "fmn.autocreate": True, + + # Just drop these topics without considering any preferences. They are noise that just clog us up. + "fmn.junk_suffixes": [ + '.buildsys.package.list.state.change', + '.buildsys.tag', + '.buildsys.untag', + '.buildsys.repo.init', + '.buildsys.repo.done', + ], + # This sets up four threads to handle incoming messages. At the time of # this commit, all of our fedmsg daemons are running in single-threaded # mode. If we turn it on globally, we should remove this setting.