Celery 3.0 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number Visibility Timeout The visibility timeout defines messages will be seen by all virtual hosts by default. You have to set a transport option to prefix the messages so that they will only be received by the active virtual host: app.conf.broker_transport_options0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number Visibility Timeout The visibility timeout defines messages will be seen by all virtual hosts by default. You have to set a transport option to prefix the messages so that they will only be received by the active virtual host: app.conf.broker_transport_options0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery v5.0.1 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number It is also easy to connect directly to a list example the URI-prefix will be redis. userid User id used to connect to the broker with. virtual_host Virtual host used. clock Value of the workers logical clock. This is a positive integer and should0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number It is also easy to connect directly to a list example the URI-prefix will be redis. userid User id used to connect to the broker with. virtual_host Virtual host used. clock Value of the workers logical clock. This is a positive integer and should0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl add_vhost database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number It is also easy to connect directly to a list example the URI-prefix will be redis. userid User id used to connect to the broker with. virtual_host Virtual host used. clock Value of the workers logical clock. This is a positive integer and should0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 DocumentationSetting up RabbitMQ To use Celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ sudo rabbitmqctl add_user myuser mypassword $ sudo rabbitmqctl database number when using a Unix socket is possible by adding the virtual_host parameter to the URL: redis+socket:///path/to/redis.sock?virtual_host=db_number It is also easy to connect directly to a list example the URI-prefix will be redis. userid User id used to connect to the broker with. virtual_host Virtual host used. clock Value of the workers logical clock. This is a positive integer and should0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery 2.5 DocumentationSetting up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ rabbitmqctl add_user myuser mypassword $ rabbitmqctl add_vhost popular being RabbitMQ. The worker processes messages, and consists of one or more physical (or virtual) nodes. 2.1.1 Tasks The action to take whenever a message of a certain type is received is called each queue, as well as manage users, virtual hosts and their permissions. Note: The default virtual host ("/") is used in these examples, if you use a custom virtual host you have to add the -p argument0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.4 DocumentationSetting up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ rabbitmqctl add_user myuser mypassword $ rabbitmqctl add_vhost popular being RabbitMQ. The worker processes messages, and consists of one or more physical (or virtual) nodes. 2.1.1 Tasks The action to take whenever a message of a certain type is received is called each queue, as well as manage users, virtual hosts and their permissions. Note: The default virtual host ("/") is used in these examples, if you use a custom virtual host you have to add the -p argument0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.4 DocumentationSetting up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ rabbitmqctl add_user myuser mypassword $ rabbitmqctl add_vhost popular being RabbitMQ. The worker processes messages, and consists of one or more physical (or virtual) nodes. Tasks The action to take whenever a message of a certain type is received is called a “task” each queue, as well as manage users, virtual hosts and their permissions. Note The default virtual host ("/") is used in these examples, if you use a custom virtual host you have to add the -p argument0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 2.5 DocumentationSetting up RabbitMQ To use celery we need to create a RabbitMQ user, a virtual host and allow that user access to that virtual host: $ rabbitmqctl add_user myuser mypassword $ rabbitmqctl add_vhost popular being RabbitMQ. The worker processes messages, and consists of one or more physical (or virtual) nodes. Tasks The action to take whenever a message of a certain type is received is called a “task” each queue, as well as manage users, virtual hosts and their permissions. Note The default virtual host ("/") is used in these examples, if you use a custom virtual host you have to add the -p argument0 码力 | 647 页 | 1011.88 KB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













