From aa53d1ede48da719edb846b66949cfc19e501aee Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 22 Jan 2015 19:59:21 +0000 Subject: [PATCH] Specify N procs to FMN. --- roles/notifs/backend/templates/fmn.consumer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index e0b8720fad..07862ff418 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -25,8 +25,9 @@ config = { # 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. - "moksha.workers_per_consumer": 12, - "moksha.threadpool_size": 20, + "moksha.workers_per_consumer": 4, + "moksha.threadpool_size": 12, + "fmn.processes": 4 # Some configuration for the rule processors "fmn.rules.utils.use_pkgdb2": True,