MCPcopy Create free account
hub / github.com/celery/celery / _process_task

Method _process_task

celery/worker/worker.py:291–299  ·  view source on GitHub ↗

Process task by sending it to the pool of workers.

(self, req)

Source from the content-addressed store, hash-verified

289 return self._quick_acquire(self._process_task, req)
290
291 def _process_task(self, req):
292 """Process task by sending it to the pool of workers."""
293 try:
294 req.execute_using_pool(self.pool)
295 except TaskRevokedError:
296 try:
297 self._quick_release() # Issue 877
298 except AttributeError:
299 pass
300
301 def signal_consumer_close(self):
302 try:

Calls 1

execute_using_poolMethod · 0.80