你正在阅读 Celery 3.1 的文档。开发版本文档见: 此处.

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 0xd91676c>>, error=<bound method ProcessAwareLogger.error of <celery.utils.log.ProcessAwareLogger object at 0xd91676c>>, task_reserved=<built-in method add of set object at 0xbd4833c>, to_system_tz=<bound method _Zone.to_system of <celery.utils.timeutils._Zone object at 0xac8d82c>>)[源代码]

上一个主题

celery.worker.state

下一个主题

celery.bin.base

本页