From cda4eb70a7a44e182895898a2b56127c34d425e2 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 14 Jan 2015 17:13:03 +0000 Subject: [PATCH] Throw some more threads at FMN. --- roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2 | 2 +- roles/notifs/backend/templates/fmn.consumer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2 b/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2 index 0772c33d70..4f4adcbffa 100644 --- a/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2 +++ b/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2 @@ -8,7 +8,7 @@ config = dict( endpoints={ "fmn.notifs-backend01": [ "tcp://notifs-backend01.%s:30%0.2i" % (suffix, i) - for i in range(5) + for i in range(6) ], }, ) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index a6e48f0ca4..270698e387 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -25,8 +25,8 @@ 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": 4, - "moksha.threadpool_size": 10, + "moksha.workers_per_consumer": 6, + "moksha.threadpool_size": 20, # Some configuration for the rule processors "fmn.rules.utils.use_pkgdb2": True,