Celery v4.1.0 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that doesn’t change anything in the worker, it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return super(DebugTask, self).__call__(*args, **kwargs) Tip If you override0 码力 | 1057 页 | 1.35 MB | 1 年前3Celery v4.1.0 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the --destination option. This is a comma separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that doesn’t change anything in the worker, it only class DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return super(DebugTask, self).__call__(*args, **kwargs) Tip: If you override0 码力 | 714 页 | 2.63 MB | 1 年前3Celery v4.4.7 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma-separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that don’t change anything in the worker; it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return self.run(*args, **kwargs) Tip If you override the task’s __call__0 码力 | 1219 页 | 1.44 MB | 1 年前3Celery v4.4.6 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma-separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that don’t change anything in the worker; it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return self.run(*args, **kwargs) Tip If you override the task’s __call__0 码力 | 1216 页 | 1.44 MB | 1 年前3Celery v4.4.5 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma-separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that don’t change anything in the worker; it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return self.run(*args, **kwargs) Tip If you override the task’s __call__0 码力 | 1215 页 | 1.44 MB | 1 年前3Celery v4.4.4 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma-separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that don’t change anything in the worker; it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return self.run(*args, **kwargs) Tip If you override the task’s __call__0 码力 | 1215 页 | 1.44 MB | 1 年前3Celery 4.4.3 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma-separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that don’t change anything in the worker; it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return self.run(*args, **kwargs) Tip If you override the task’s __call__0 码力 | 1209 页 | 1.44 MB | 1 年前3Celery v4.2.1 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that doesn’t change anything in the worker, it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return super(DebugTask, self).__call__(*args, **kwargs) Tip If you override0 码力 | 1121 页 | 1.38 MB | 1 年前3Celery v4.2.2 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the -- destination option. This is a comma separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that doesn’t change anything in the worker, it only DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return super(DebugTask, self).__call__(*args, **kwargs) Tip If you override0 码力 | 1121 页 | 1.38 MB | 1 年前3Celery v4.2.1 Documentation
received by every worker in the cluster. You can also specify one or more workers to act on the request using the --destination option. This is a comma separated list of worker host names: $ celery -A --destination=celery@example.com If a destination isn’t provided then every worker will act and reply to the request. The celery inspect command contains commands that doesn’t change anything in the worker, it only class DebugTask(Task): def __call__(self, *args, **kwargs): print('TASK STARTING: {0.name}[{0.request.id}]'.format(self)) return super(DebugTask, self).__call__(*args, **kwargs) Tip: If you override0 码力 | 746 页 | 2.73 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6