Make mbs-backend wait a little bit longer before publishing.

This commit is contained in:
Ralph Bean 2017-03-14 18:23:00 +00:00
parent c1c50d293f
commit 4c6b4fed47
3 changed files with 7 additions and 1 deletions

View file

@ -152,6 +152,9 @@ fedmsg_active: False
fedmsg_prefix: org.fedoraproject
fedmsg_env: prod
# Amount of time to wait for connections after a socket is first established.
fedmsg_post_init_sleep: 1.0
# A special flag that, when set to true, will disconnect the host from the
# global fedmsg-relay instance and set it up with its own local one. You can
# temporarily set this to true for a specific host to do some debugging -- so

View file

@ -29,6 +29,9 @@ fedmsg_certs:
- mbs.module.state.change
- mbs.component.state.change
# Wait a little bit longer than usual.. I'm not seeing messages from mbs backend
fedmsg_post_init_sleep: 1.5
# For the MOTD
csi_security_category: High
csi_primary_contact: Modularity WG - modularity-wg-members@fedoraproject.org

View file

@ -48,7 +48,7 @@ config = dict(
# If we are experiencing message-loss problems, one of the first things
# to try should be to turn this number up to a non-zero value. '1' should
# be more than sufficient.
post_init_sleep=1.0,
post_init_sleep={{fedmsg_post_init_sleep}},
# This is the number of milliseconds to wait before timing out on
# connections.. notably to the fedmsg-relay in the event that it has