Find a file
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
bots check-mirroring: Fix some issues with startup process timing. 2012-11-26 17:10:15 -05:00
examples examples/send-message: Remove default sender 2012-11-26 14:57:20 -05:00
__init__.py Update post-receive hook to send messages via the API. 2012-10-03 14:32:05 -04:00
common.py api/common.py: Ensure that the API key file is closed when we're done with it 2012-11-26 14:57:20 -05:00
README Add tool to build an API tarball for distribution. 2012-11-26 12:25:39 -05:00

The Humbug API Python bindings require the following Python libraries:

* simplejson
* requests (version >= 0.12)