This document describes the current stable version of 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 0x068861F0>>, error=<bound method ProcessAwareLogger.error of <celery.utils.log.ProcessAwareLogger object at 0x068861F0>>, task_reserved=<built-in method add of set object at 0x05B6F468>, to_system_tz=<bound method _Zone.to_system of <celery.utils.timeutils._Zone object at 0x04415250>>)[source]

Previous topic

celery.worker.state

Next topic

celery.bin.base

This Page