python-zulip-api/bots
Tim Abbott ca34a2a02f check-mirroring: Fix some issues with startup process timing.
It seems that check-mirroring was reporting a lot of spurious failures
due to it sometimes taking more than 3 seconds for the setup phase of
check-mirroring's receive path to run.  So fix this:

(1) Wait a bit more than 3 seconds for the receiver to subscribe to
messages

(2) Subscribe to Humbug messages before forking (we can't do this with
zephyr.init() because python-zephyr gets totally messed up if you use
it from multiple processes with a shared initialization)

(3) Get rid of the old time.sleep(0.x) values that were intended to
make messages arrive in order -- since we're now checking that
messages correctly arrived using set(), they aren't needed.

(4) Use a single request to subscribe to both zephyr classes we need
to subscribe to (saves 1 RTT).

(imported from commit d96aef05405ce43e9a4a549de189da9a2e393875)
2012-11-26 17:10:15 -05:00
..
__init__.py Move our various bots into api/bots/. 2012-10-25 13:53:34 -04:00
check-mirroring check-mirroring: Fix some issues with startup process timing. 2012-11-26 17:10:15 -05:00
feedback-bot [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
gcal-bot [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
humbug_trac.py [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
mit_subs_list.py Move our various bots into api/bots/. 2012-10-25 13:53:34 -04:00
send-nagios-notification Send Nagios alerts to Humbug 2012-11-26 14:42:55 -05:00
zephyr_mirror.py api: Add copyright and MIT license notices to distributed tools. 2012-11-26 12:25:38 -05:00
zephyr_mirror_backend.py zephyr_mirror: Don't use @(@color(blue)) in zsigs. 2012-11-26 16:19:09 -05:00