diff --git a/roles/notifs-backend/templates/fmn.consumer.py b/roles/notifs-backend/templates/fmn.consumer.py index bfd05a344e..8c947685b6 100644 --- a/roles/notifs-backend/templates/fmn.consumer.py +++ b/roles/notifs-backend/templates/fmn.consumer.py @@ -9,6 +9,15 @@ ircnick = "fedora-notifs" base = "https://apps.%s/notifications/" % domain config = { + {% if env == 'staging' %} + # Pull in messages from production so we can more thoroughly test in stg. + "endpoints": { + "loopback-from-production": [ + "tcp://hub.fedoraproject.org:9940", + ], + }, + {% endif %} + # Consumer stuff "fmn.consumer.enabled": True, "fmn.sqlalchemy.uri": "postgresql://${notifs_db_user}:${notifs_db_password}@db-notifs/notifications",