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

celery.apps.worker

celery.apps.worker

This module is the ‘program-version’ of celery.worker.

It does everything necessary to run that module as an actual application, like installing signal handlers, platform tweaks, and so on.

class celery.apps.worker.Worker(app=None, hostname=None, **kwargs)[源代码]
extra_info()[源代码]
install_platform_tweaks(worker)[源代码]

Install platform specific tweaks and workarounds.

on_after_init(purge=False, no_color=None, redirect_stdouts=None, redirect_stdouts_level=None, **kwargs)
on_before_init(**kwargs)
on_consumer_ready(consumer)[源代码]
on_init_blueprint()
on_start()
osx_proxy_detection_workaround()[源代码]

See http://github.com/celery/celery/issues#issue/161

purge_messages()[源代码]
set_process_status(info)[源代码]
setup_logging(colorize=None)[源代码]
startup_info()[源代码]
tasklist(include_builtins=True, sep=u'n', int_=u'celery.')[源代码]

上一个主题

celery.beat

下一个主题

celery.apps.beat

本页