Provide backlog options for the new fedmsg feature.

This commit is contained in:
Ralph Bean 2014-07-18 17:45:04 +00:00
parent b137f536cf
commit 8adb643de6

View file

@ -7,6 +7,18 @@ config = dict(
environment="prod", environment="prod",
{% endif %} {% endif %}
# These options provide a place for hub processes to write out their last
# processed message. This let's them read it in at startup and figure out
# what kind of backlog they have to deal with.
status_directory="/var/run/fedmsg/status",
# This is the URL of a datagrepper instance that we can query for backlog.
{% if env == 'staging' %}
datagrepper_url="https://apps.stg.fedoraproject.org/datagrepper/raw",
{% else %}
datagrepper_url="https://apps.fedoraproject.org/datagrepper/raw",
{% endif %}
# This used to be set to 1 for safety, but it turns out it was # This used to be set to 1 for safety, but it turns out it was
# excessive. It is the number of seconds that fedmsg should sleep # excessive. It is the number of seconds that fedmsg should sleep
# after it has initialized, but before it begins to try and send any # after it has initialized, but before it begins to try and send any