[Buildbot] #2669: startConsuming should be async
Buildbot trac
trac at buildbot.net
Mon Sep 7 19:01:47 UTC 2015
#2669: startConsuming should be async
------------------------+-----------------------
Reporter: dustin | Owner: dustin
Type: enhancement | Status: assigned
Priority: major | Milestone: 0.9.0
Version: master | Resolution:
Keywords: mq |
------------------------+-----------------------
Comment (by tardyp):
For me startConsuming should be removed from the data api. I find it is
useless passthrough layer, and we should rather use mq directly (which all
of my new code does)
As for asynchronous, with wamp, there is a chicken and the egg problem
during the initialization. Some services won't initialize until they are
registered, and are started before mq, resulting in a hangup at startup.
This is why I made wamp drop the startConsuming deferreds. That said, the
chicken and egg problem might not one, and reordering init can make it
work.
--
Ticket URL: <http://trac.buildbot.net/ticket/2669#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list