Celery 2.2 Documentationfile the worker logs to. See Logging. loglevel: The current log level used. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. immediate Request immediate delivery. Will raise0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.3 Documentationlog level used. hostname Hostname of the worker instance executing the task. delivery_info Additional message delivery information. This is a mapping containing the exchange and rout- ing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. • immediate Request immediate delivery. Will raise0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 DocumentationThe file the worker logs to. See Logging. loglevel The current log level used. delivery_info Additional message delivery information. This is a mapping containing the exchange and rout- ing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. • immediate Request immediate delivery. Will raise0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.3 Documentationlog level used. hostname: Hostname of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. immediate Request immediate delivery. Will raise0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.4 Documentationlog level used. hostname Hostname of the worker instance executing the task. delivery_info Additional message delivery information. This is a mapping containing the exchange and rout- ing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. • immediate Request immediate delivery. Will raise0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.4 Documentationlog level used. hostname: Hostname of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is This sets the delivery to be mandatory. An exception will be raised if there are no running workers able to take on the task. Not supported by amqplib. immediate Request immediate delivery. Will raise0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 2.1 Documentationto the workers log file. See Logging. loglevel: The current log level used. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to to the task. In addition, it also uses the task_id keyword argument to use the same task id, and delivery_info to route the retried task to the same destination. Using a custom retry delay When a task exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 3.0 Documentationenable_utc setting). hostname: Node name of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to import Reject @app.task(bind=True, acks_late=True) def requeues(self): if not self.request.delivery_info['redelivered']: raise Reject('no reason', requeue=True) print('received two times') Pop a message off the queue: 5> basic.get testqueue {'body': 'This is a message!', 'delivery_info': {'delivery_tag': 1, 'exchange': u'testexchange', 'message_count':0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationenable_utc setting). hostname: Node name of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping containing the exchange and routing key used to import Reject @app.task(bind=True, acks_late=True) def requeues(self): if not self.request.delivery_info['redelivered']: raise Reject('no reason', requeue=True) print('received two times') Pop a message off the queue: 5> basic.get testqueue {'body': 'This is a message!', 'delivery_info': {'delivery_tag': 1, 'exchange': u'testexchange', 'message_count':0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery 2.1 Documentationaccess to the workers log file. See Logging. loglevel The current log level used. delivery_info Additional message delivery information. This is a mapping containing the exchange and rout- ing key used to to the task. In addition, it also uses the task_id keyword argument to use the same task id, and delivery_info to route the retried task to the same destination. Using a custom retry delay When a task exception will be raised instead. Not supported by amqplib. Task.immediate Request immediate delivery. If the task cannot be routed to a task worker immediately, an exception will be raised. This is0 码力 | 285 页 | 1.19 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













