Turn on multi-threading for FMN backend.

This commit is contained in:
Ralph Bean 2014-07-19 13:19:43 +00:00
parent 1fdb343941
commit 9e85f042a8

View file

@ -22,6 +22,11 @@ config = {
"fmn.consumer.enabled": True,
"fmn.sqlalchemy.uri": "postgresql://{{notifs_db_user}}:{{notifs_db_password}}@db-notifs/notifications",
# 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.threads_per_consumer": 4,
# Some configuration for the rule processors
"fmn.rules.utils.use_pkgdb2": True,
{% if env == 'staging' %}