MCPcopy
hub / github.com/celery/celery / stop

Method stop

celery/backends/rpc.py:122–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 logger.info('RPC result consumer: reconnected successfully.')
121
122 def stop(self):
123 try:
124 self._consumer.cancel()
125 finally:
126 self._connection.close()
127
128 def on_after_fork(self):
129 self._consumer = None

Callers

nothing calls this directly

Calls 2

cancelMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected