This document describes Celery 3.1. For development docs, go here.

celery.worker.strategy

celery.worker.strategy

Task execution strategy (optimization).

celery.worker.strategy.default(task, app, consumer, info=<bound method ProcessAwareLogger.info of <celery.utils.log.ProcessAwareLogger object at 0x8701e50>>, error=<bound method ProcessAwareLogger.error of <celery.utils.log.ProcessAwareLogger object at 0x8701e50>>, task_reserved=<built-in method add of set object at 0x6219790>, to_system_tz=<bound method _Zone.to_system of <celery.utils.timeutils._Zone object at 0x51f2ad0>>)[source]

Previous topic

celery.worker.state

Next topic

celery.bin.base

This Page