Celery v5.0.5 Documentationsock?virtual_host=db_number It is also easy to connect directly to a list of Redis Sentinel: ```javascript app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local the Redis result backend, use the retry_policy key under result backend transport options: ```javascript app.conf.result_backend_transport_options = { 'retry_policy': { 'timeout': be set like so: # Specifying this for workers running Celery 4.4.6 or earlier has no effect ```javascript app.conf.result_backend_transport_options = { 'result_chord_ordered': True0 码力 | 2315 页 | 2.14 MB | 2 年前3
Celery 3.0 Documentationfiles, this is how you'd route a misbehaving task to a dedicated queue: celeryconfig.py: ```javascript task_routes = { 'tasks.add': 'low-priority', } ``` Or instead of routing so that only 10 tasks of this type can be processed in a minute (10/m): celeryconfig.py: ```javascript task_annotations = { 'tasks.add': {'rate_limit': '10/m'} } ``` If setting enables you to route tasks by name and keep everything centralized in one location: ```javascript app.conf.update( task_routes = { 'proj.tasks.add': {'queue': 'hipri'}0 码力 | 2110 页 | 2.23 MB | 2 年前3
Celery v4.0.0 Documentationfiles, this is how you'd route a misbehaving task to a dedicated queue: celeryconfig.py: ```javascript task_routes = { 'tasks.add': 'low-priority', } ``` Or instead of routing so that only 10 tasks of this type can be processed in a minute (10/m): celeryconfig.py: ```javascript task_annotations = { 'tasks.add': {'rate_limit': '10/m'} } ``` If setting enables you to route tasks by name and keep everything centralized in one location: ```javascript app.conf.update( task_routes = { 'proj.tasks.add': {'queue': 'hipri'}0 码力 | 2106 页 | 2.23 MB | 2 年前3
Celery v4.4.5 Documentationsock?virtual_host=db_number It is also easy to connect directly to a list of Redis Sentinel: ```javascript app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local files, this is how you'd route a misbehaving task to a dedicated queue: celeryconfig.py: ```javascript task_routes = { 'tasks.add': 'low-priority', } ``` Or instead of routing so that only 10 tasks of this type can be processed in a minute (10/m): celeryconfig.py: ```javascript task_annotations = { 'tasks.add': {'rate_limit': '10/m'} } ``` If0 码力 | 1215 页 | 1.44 MB | 2 年前3
Celery v5.0.1 Documentationsock?virtual_host=db_number It is also easy to connect directly to a list of Redis Sentinel: ```javascript app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local the Redis result backend, use the retry_policy key under result backend transport options: ```javascript app.conf.result_backend_transport_options = { 'retry_policy': { 'timeout': be set like so: # Specifying this for workers running Celery 4.4.6 or earlier has no effect ```javascript app.conf.result_backend_transport_options = { 'result_chord_ordered': True0 码力 | 2313 页 | 2.13 MB | 2 年前3
Celery v5.0.2 Documentationsock?virtual_host=db_number It is also easy to connect directly to a list of Redis Sentinel: ```javascript app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local the Redis result backend, use the retry_policy key under result backend transport options: ```javascript app.conf.result_backend_transport_options = { 'retry_policy': { 'timeout': be set like so: # Specifying this for workers running Celery 4.4.6 or earlier has no effect ```javascript app.conf.result_backend_transport_options = { 'result_chord_ordered': True0 码力 | 2313 页 | 2.14 MB | 2 年前3
Celery v5.0.0 Documentationsock?virtual_host=db_number It is also easy to connect directly to a list of Redis Sentinel: ```javascript app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local the Redis result backend, use the retry_policy key under result backend transport options: ```javascript app.conf.result_backend_transport_options = { 'retry_policy': { 'timeout': be set like so: # Specifying this for workers running Celery 4.4.6 or earlier has no effect ```javascript app.conf.result_backend_transport_options = { 'result_chord_ordered': True0 码力 | 2309 页 | 2.13 MB | 2 年前3
Celery 1.0 Documentationvariable) © Copyright 2009, Ask Solem. Created using Sphinx 1.2.| |---| ## Search Please activate JavaScript to enable the search functionality. From here you can search these documents. Enter your search0 码力 | 221 页 | 283.64 KB | 2 年前3
Celery 2.0 Documentation& contributors. Created using Sphinx 1.2. ## Search Please activate JavaScript to enable the search functionality. From here you can search these documents. Enter your search0 码力 | 284 页 | 332.71 KB | 2 年前3
Celery 2.2 DocumentationLoggingProxy method) ## Y yellow().(celery.utils.term.colored method) ## Search Please activate JavaScript to enable the search functionality. From here you can search these documents. Enter your search0 码力 | 505 页 | 878.66 KB | 2 年前3
共 14 条
- 1
- 2













