celery.apps.worker
¶
Worker command-line program.
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)[исходный код]¶
Worker as a program.
- emit_banner()[исходный код]¶
- extra_info()[исходный код]¶
- install_platform_tweaks(worker)[исходный код]¶
Install platform specific tweaks and workarounds.
- macOS_proxy_detection_workaround()[исходный код]¶
- on_after_init(purge=False, no_color=None, redirect_stdouts=None, redirect_stdouts_level=None, **kwargs)[исходный код]¶
- on_before_init(quiet=False, **kwargs)[исходный код]¶
- on_consumer_ready(consumer)[исходный код]¶
- on_init_blueprint()[исходный код]¶
- on_start()[исходный код]¶
- purge_messages()[исходный код]¶
- set_process_status(info)[исходный код]¶
- setup_logging(colorize=None)[исходный код]¶
- startup_info(artlines=True)[исходный код]¶
- tasklist(include_builtins=True, sep='\n', int_='celery.')[исходный код]¶