Celery 1.0 Documentationimported. You can set a custom name for the configuration module with the CELERY_CONFIG_MODULE variable. In these examples we use the default name. Let’s create our celeryconfig.py. 1. Configure how 4. Now remembers the previously detected loader by keeping it in the CELERY_LOADER environment variable. This may help on windows where fork emulation is used. ETA no longer sends datetime objects, __getitem__``+``pop raises NotRegistered instead You can set the loader via the CELERY_LOADER environment variable. You can now set CELERY_IGNORE_RESULT to ignore task results by default (if enabled, tasks doesn’t0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.5 Documentationalso set a custom name for the configuration module by using the CELERY_CONFIG_MODULE environment variable. Let’s create our celeryconfig.py. 1. Configure how we communicate with the broker (RabbitMQ in is very expensive. You can force an implementation by setting the CELERYD_FSNOTIFY environment variable: $ env CELERYD_FSNOTIFY=stat celeryd -l info --autoreload 2.4.9 Remote control New in version--help Commands • shell: Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be automati- cally added to locals (unless 0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 3.1 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving is very expensive. You can force an implementation by setting the CELERYD_FSNOTIFY environment variable: $ env CELERYD_FSNOTIFY=stat celery worker -l info --autoreload Pool Restart Command New in version0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 2.3 Documentationalso set a custom name for the configuration module by using the CELERY_CONFIG_MODULE environment variable. Let’s create our celeryconfig.py. 1. Configure how we communicate with the broker (RabbitMQ in starting from the base port (6900 by default). The base port can be changed using the environment variable CELERY_RDB_PORT. 7.2. Debugging Tasks Remotely (using pdb) 115 Celery Documentation, Release 2 available from the local host, to enable access from the outside you have to set the environment variable CELERY_RDB_HOST. When celeryd encounters your breakpoint it will log the following information:0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 3.1 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import app=None): self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving is very expensive. You can force an implementation by setting the CELERYD_FSNOTIFY environment variable: $ env CELERYD_FSNOTIFY=stat celery worker -l info --autoreload Pool Restart Command New in version0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery v4.1.0 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving only. %d: Domain name only. If the current hostname is george.example.com, these will expand to: Variable Template Result %h worker1@%h worker1@george.example.com %n worker1@%n worker1@george %d worker1@%d0 码力 | 1057 页 | 1.35 MB | 1 年前3
Celery 2.5 Documentationalso set a custom name for the configuration module by using the CELERY_CONFIG_MODULE environment variable. Let’s create our celeryconfig.py. 1. Configure how we communicate with the broker (RabbitMQ in is very expensive. You can force an implementation by setting the CELERYD_FSNOTIFY environment variable: $ env CELERYD_FSNOTIFY=stat celeryd -l info --autoreload Remote control New in version 2.0.--help Commands shell: Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be automatically added to locals (unless the 0 码力 | 647 页 | 1011.88 KB | 1 年前3
Celery v4.0.1 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving only. %d: Domain name only. If the current hostname is george.example.com, these will expand to: Variable Template Result %h worker1@%h worker1@george.example.com %n worker1@%n worker1@george %d worker1@%d0 码力 | 1040 页 | 1.37 MB | 1 年前3
Celery v4.0.2 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving only. %d: Domain name only. If the current hostname is george.example.com, these will expand to: Variable Template Result %h worker1@%h worker1@george.example.com %n worker1@%n worker1@george %d worker1@%d0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery 4.0 Documentationtakes the configuration module name from an environment variable For example – to load configuration from a module specified in the environment variable named CELERY_CONFIG_MODULE: import os from celery import self.app = app_or_default(app) In development you can set the CELERY_TRACE_APP environment variable to raise an exception if the app chain breaks: $ CELERY_TRACE_APP=1 celery worker -l info Evolving only. %d: Domain name only. If the current hostname is george.example.com, these will expand to: Variable Template Result %h worker1@%h worker1@george.example.com %n worker1@%n worker1@george %d worker1@%d0 码力 | 1042 页 | 1.37 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













