MCPcopy Create free account
hub / github.com/StackStorm/st2 / start

Method start

st2common/st2common/transport/consumers.py:195–200  ·  view source on GitHub ↗
(self, wait=False)

Source from the content-addressed store, hash-verified

193 self._consumer_thread = None
194
195 def start(self, wait=False):
196 LOG.info("Starting %s...", self.__class__.__name__)
197 self._consumer_thread = concurrency.spawn(self._queue_consumer.run)
198
199 if wait:
200 self.wait()
201
202 def wait(self):
203 self._consumer_thread.wait()

Callers 4

validateMethod · 0.45
validateMethod · 0.45
setUpMethod · 0.45
setup_eventlet_profilerFunction · 0.45

Calls 1

waitMethod · 0.95

Tested by 1

setUpMethod · 0.36