celery.worker.loops

The consumers highly-optimized inner loop.

celery.worker.loops.asynloop(obj, connection, consumer, blueprint, hub, qos, heartbeat, clock, hbrate=2.0)[исходный код]

Non-blocking event loop.

celery.worker.loops.synloop(obj, connection, consumer, blueprint, hub, qos, heartbeat, clock, hbrate=2.0, **kwargs)[исходный код]

Fallback blocking event loop for transports that doesn’t support AIO.

Back to Top