Celery 3.1 Documentation
people and companies using Celery • write my own remote control command • change worker queues at runtime Jump to • Brokers • Applications • Tasks • Calling 2.2. Getting Started 9 Celery Documentation monitoring tools will not work. Remote control means the ability to inspect and manage workers at runtime using the celery inspect and celery control commands (and other tools using the remote control API) Redis as the broker then you can also direct the workers to set a new rate limit for the task at runtime: $ celery -A tasks control rate_limit tasks.add 10/m worker@example.com: OK new rate limit set successfully0 码力 | 607 页 | 2.27 MB | 1 年前3Celery 3.1 Documentation
of people and companies using Celery write my own remote control command change worker queues at runtime Jump to ⟶ Brokers Workers Security Contributing Applications Tasks Calling Daemonizing Monitoring monitoring tools will not work. Remote control means the ability to inspect and manage workers at runtime using the celery inspect and celery control commands (and other tools using the remote control API) Redis as the broker then you can also direct the workers to set a new rate limit for the task at runtime: $ celery -A tasks control rate_limit tasks.add 10/m worker@example.com: OK new rate limit set0 码力 | 887 页 | 1.22 MB | 1 年前3Celery 2.3 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote- control Worker nodes can be controlled from remote by using broadcast messaging. A range Restarting the worker • Concurrency • Persistent revokes • Time limits – Changing time limits at runtime • Max tasks per child setting • Remote control – The broadcast() function. – Rate limits – Revoking on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 334 页 | 1.25 MB | 1 年前3Celery 2.5 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote- control Worker nodes can be controlled from remote by using broadcast messaging. A range Restarting the worker • Concurrency • Persistent revokes • Time limits – Changing time limits at runtime • Max tasks per child setting • Autoreloading • Remote control – The broadcast() function. – Rate on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 400 页 | 1.40 MB | 1 年前3Celery 2.3 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote-control Worker nodes can be controlled from remote by using broadcast messaging. A range worker Restarting the worker Concurrency Persistent revokes Time limits Changing time limits at runtime Max tasks per child setting Remote control The broadcast() function. Rate limits Revoking tasks on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 530 页 | 900.64 KB | 1 年前3Celery 2.1 Documentation
the worker executes the task. • task-succeeded(uuid, result, runtime, hostname, timestamp) Sent if the task executed successfully. Runtime is the time it took to execute the task using the pool. (Starting – Can I send some tasks to only some servers? – Can I change the interval of a periodic task at runtime? – Does celery support task priorities? – Should I use retry or acks_late? – Can I schedule tasks See Routing Tasks for more information. 8.7.11 Can I change the interval of a periodic task at runtime? Answer: Yes. You can override PeriodicTask.is_due or turn PeriodicTask.run_every into a property:0 码力 | 285 页 | 1.19 MB | 1 年前3Celery 2.5 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote-control Worker nodes can be controlled from remote by using broadcast messaging. A range worker Restarting the worker Concurrency Persistent revokes Time limits Changing time limits at runtime Max tasks per child setting Autoreloading Remote control The broadcast() function. Rate limits on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 647 页 | 1011.88 KB | 1 年前3Celery 2.4 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote- control Worker nodes can be controlled from remote by using broadcast messaging. A range Restarting the worker • Concurrency • Persistent revokes • Time limits – Changing time limits at runtime • Max tasks per child setting • Remote control – The broadcast() function. – Rate limits – Revoking on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 395 页 | 1.54 MB | 1 年前3Celery 2.4 Documentation
tasks to different workers, or select different message topologies, by configuration or even at runtime. Remote-control Worker nodes can be controlled from remote by using broadcast messaging. A range worker Restarting the worker Concurrency Persistent revokes Time limits Changing time limits at runtime Max tasks per child setting Remote control The broadcast() function. Rate limits Revoking tasks on Windows and other platforms that do not support the SIGUSR1 signal. Changing time limits at runtime New in version 2.3. You can change the soft and hard time limits for a task by using the time_limit0 码力 | 543 页 | 957.42 KB | 1 年前3Celery v5.0.1 Documentation
of people and companies using Celery write my own remote control command change worker queues at runtime Jump to ⟶ Brokers Applications Tasks Calling Workers Daemonizing Monitoring Optimizing Security monitoring tools won’t work. Remote control means the ability to inspect and manage workers at runtime using the celery inspect and celery control commands (and other tools using the remote control API) ns = { 'result_chord_ordered': True # or False } This is an incompatible change in the runtime behaviour of workers sharing the same Redis backend for result storage, so all workers must follow0 码力 | 2313 页 | 2.13 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6