Celery 2.1 Documentation[{’worker1.example.com’: ’New rate limit set successfully’}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using a timedelta, or a crontab. You can also define your own custom schedule types, by extending the interface of schedule. • args Positional arguments (list or tuple). • kwargs Keyword arguments (dict) for Celery AMQ Admin). It’s used for command-line access to the AMQP API, enabling access to administration tasks like creating/deleting queues and exchanges, purging queues or sending messages. You can0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.1 Documentation[{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using a timedelta, or a crontab. You can also define your own custom schedule types, by extending the interface of schedule. args Positional arguments (list or tuple). kwargs Keyword arguments (dict). options for Celery AMQ Admin). It’s used for command-line access to the AMQP API, enabling access to administration tasks like creating/deleting queues and exchanges, purging queues or sending messages. You can0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 1.0 Documentation4 View and URLs This is also simple stuff, don’t think I have to explain this code to you. The interface is as follows, if you have a link to http://google.com you would want to count the clicks for, you In this example we will use a queue called celery which we created in the ActiveMQ web admin interface. Note: For ActiveMQ the queue name has to have "/queue/" prepended to it. i.e. the queue celery settings to your queue name. This is a minor inconvenience since carrot needs to maintain the same interface for both AMQP and STOMP (obviously the one with the most capabilities won). Use the following specific0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 1.0 DocumentationView and URLs This is also simple stuff, don’t think I have to explain this code to you. The interface is as follows, if you have a link to http://google.com you would want to count the clicks for, you In this example we will use a queue called celery which we created in the ActiveMQ web admin interface. Note: For ActiveMQ the queue name has to have "/queue/" prepended to it. i.e. the queue celery settings to your queue name. This is a minor inconvenience since carrot needs to maintain the same interface for both AMQP and STOMP (obviously the one with the most capabilities won). Use the following specific0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 3.1 Documentationto see what the workers are doing: $ celery -A proj events --dump or you can start the curses interface: $ celery -A proj events when you’re finished monitoring you can disable events again: $ celery [{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using use the celery command to inspect workers, and it supports the same commands as the app.control interface. # Inspect all nodes. >>> i = app.control.inspect() # Specify multiple nodes to inspect. >>> i0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.1 Documentationto see what the workers are doing: $ celery -A proj events --dump or you can start the curses interface: $ celery -A proj events when you’re finished monitoring you can disable events again: $ celery [{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using use the celery command to inspect workers, and it supports the same commands as the app.control interface. # Inspect all nodes. >>> i = app.control.inspect() # Specify multiple nodes to inspect. >>> i0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 2.0 Documentation[{’worker1.example.com’: ’New rate limit set successfully’}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using 4 View and URLs This is also simple stuff, don’t think I have to explain this code to you. The interface is as follows, if you have a link to http://google.com you would want to count the clicks for, you In this example we will use a queue called celery which we created in the ActiveMQ web admin interface. Note: When using ActiveMQ the queue name needs to have "/queue/" prepended to it. i.e. the queue0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 3.0 Documentationto see what the workers are doing: $ celery -A proj events --dump or you can start the curses interface: $ celery -A proj events 34 Chapter 2. Contents Celery Documentation, Release 4.0.0 when you’re [{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using use the celery command to inspect workers, and it supports the same commands as the app.control interface. >>> # Inspect all nodes. >>> i = app.control.inspect() >>> # Specify multiple nodes to inspect0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.0.1 Documentationto see what the workers are doing: $ celery -A proj events --dump or you can start the curses interface: $ celery -A proj events when you’re finished monitoring you can disable events again: $ celery [{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using use the celery command to inspect workers, and it supports the same commands as the app.control interface. >>> # Inspect all nodes. >>> i = app.control.inspect() >>> # Specify multiple nodes to inspect0 码力 | 1040 页 | 1.37 MB | 1 年前3
Celery v4.0.2 Documentationto see what the workers are doing: $ celery -A proj events --dump or you can start the curses interface: $ celery -A proj events when you’re finished monitoring you can disable events again: $ celery [{'worker1.example.com': 'New rate limit set successfully'}] Of course, using the higher-level interface to set rate limits is much more convenient, but there are commands that can only be requested using use the celery command to inspect workers, and it supports the same commands as the app.control interface. >>> # Inspect all nodes. >>> i = app.control.inspect() >>> # Specify multiple nodes to inspect0 码力 | 1042 页 | 1.37 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













