Celery 2.5 Documentationfor the development version can be found here: http://celery.github.com/celery/ 1.1. Introduction 5 Celery Documentation, Release 2.5.5 1.1.6 Installation You can install Celery either via the Python additional settings you can configure: CELERY_RESULT_BACKEND = "amqp" #: We want the results to expire in 5 minutes, note that this requires #: RabbitMQ version 2.1.1 or higher, so please comment out if you have task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.4 Documentationadditional settings you can configure: CELERY_RESULT_BACKEND = "amqp" #: We want the results to expire in 5 minutes, note that this requires #: RabbitMQ version 2.1.1 or higher, so please comment out if you have task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is control import revoke >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed") >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed", ... terminate=True) >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed", ...0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 2.2 Documentationtask that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is control import revoke >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed") >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed", ... terminate=True) >>> revoke("d9078da5-9915-40a0-bfa1-392c7bde42ed", ... active() [{'worker1.example.com': [{"name": "tasks.sleeptask", "id": "32666e9b-809c-41fa-8e93-5ae0c80afbbf", "args": "(8,)", "kwargs": "{}"}]}] Dump of scheduled (ETA) tasks You can get0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.2 Documentationceleryd as a daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 5 Contributing 91 5.1 Community Code of Conduct . . . . . . . . . . . . . . . . . . . . . . . . . . You can install Celery either via the Python Package Index (PyPI) or from source. 1.1. Introduction 5 Celery Documentation, Release 2.2.10 To install using pip,: $ pip install Celery To install using task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.1 Documentationceleryd as a daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 5 Community Resources 85 5.1 Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . You can install celery either via the Python Package Index (PyPI) or from source. 1.1. Introduction 5 Celery Documentation, Release 2.1.4 To install using pip,: $ pip install celery To install using task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.3 DocumentationYou can install Celery either via the Python Package Index (PyPI) or from source. 1.1. Introduction 5 Celery Documentation, Release 2.3.5 To install using pip,: $ pip install Celery To install using additional settings you can configure: CELERY_RESULT_BACKEND = "amqp" #: We want the results to expire in 5 minutes, note that this requires #: RabbitMQ version 2.1.1 or higher, so please comment out if you have task that re-indexes a search engine, and the search engine should only be re-indexed at maximum every 5 minutes, then it must be the tasks responsibility to assert that, not the callers. Another gotcha is0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery v4.4.5 DocumentationPyPy ❨5.4, 5.5❩ This is the last version to support Python 2.7, and from the next version (Celery 5.x) Python 3.5 or newer is required. If you’re running an older version of Python, you need to be running too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About the --app these are found it’ll try a submodule named proj.celery: 4. an attribute named proj.celery.app, or 5. an attribute named proj.celery.celery, or 6. Any attribute in the module proj.celery where the value0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery 4.4.3 DocumentationPyPy ❨5.4, 5.5❩ This is the last version to support Python 2.7, and from the next version (Celery 5.x) Python 3.5 or newer is required. If you’re running an older version of Python, you need to be running too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About the --app these are found it’ll try a submodule named proj.celery: 4. an attribute named proj.celery.app, or 5. an attribute named proj.celery.celery, or 6. Any attribute in the module proj.celery where the value0 码力 | 1209 页 | 1.44 MB | 1 年前3
Celery v4.4.4 DocumentationPyPy ❨5.4, 5.5❩ This is the last version to support Python 2.7, and from the next version (Celery 5.x) Python 3.5 or newer is required. If you’re running an older version of Python, you need to be running too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About the --app these are found it’ll try a submodule named proj.celery: 4. an attribute named proj.celery.app, or 5. an attribute named proj.celery.celery, or 6. Any attribute in the module proj.celery where the value0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery v4.4.6 DocumentationPyPy ❨5.4, 5.5❩ This is the last version to support Python 2.7, and from the next version (Celery 5.x) Python 3.5 or newer is required. If you’re running an older version of Python, you need to be running too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About the --app these are found it’ll try a submodule named proj.celery: 4. an attribute named proj.celery.app, or 5. an attribute named proj.celery.celery, or 6. Any attribute in the module proj.celery where the value0 码力 | 1216 页 | 1.44 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













