Celery 3.1 Documentationworker pool depending on load, or custom metrics specified by the user, used to limit memory usage in shared hosting/cloud environments or to enforce a given quality of service. Read more... . • Resource Leak routing options, as it is much better to keep this in a centralized location, and especially for libraries it makes it possible for users to control how they want your tasks to behave, you can also imagine attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.1 Documentationworker pool depending on load, or custom metrics specified by the user, used to limit memory usage in shared hosting/cloud environments or to enforce a given quality of service. Read more…. Resource Leak routing options, as it is much better to keep this in a centralized location, and especially for libraries it makes it possible for users to control how they want your tasks to behave, you can also imagine attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery v4.2.1 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using multiple0 码力 | 746 页 | 2.73 MB | 1 年前3
Celery v4.2.1 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using0 码力 | 1121 页 | 1.38 MB | 1 年前3
Celery v4.2.2 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using0 码力 | 1121 页 | 1.38 MB | 1 年前3
Celery v4.2.0 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using multiple0 码力 | 738 页 | 2.68 MB | 1 年前3
Celery v4.2.2 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using multiple0 码力 | 744 页 | 2.71 MB | 1 年前3
Celery v4.2.0 Documentationdiscouraged. It is much better to keep these in a centralized location. This is especially true for libraries, as it enables users to control how their tasks behave. A centralized configuration will also allow attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using0 码力 | 1110 页 | 1.36 MB | 1 年前3
Celery 3.0 Documentationrouting options, as it’s much better to keep this in a centralized location, and especially for libraries it makes it possible for users to control how they want your tasks to behave, you can also imagine attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using multiple0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.0.1 Documentationrouting options, as it’s much better to keep this in a centralized location, and especially for libraries it makes it possible for users to control how they want your tasks to behave, you can also imagine attribute. Finalizing the object will: 1. Copy tasks that must be shared between apps Tasks are shared by default, but if the shared argument to the task decorator is disabled, then the task will be private or you’re the author of a library then you probably want to use the shared_task() decorator: from celery import shared_task @shared_task def add(x, y): return x + y Multiple decorators When using0 码力 | 1040 页 | 1.37 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













