 Celery v4.4.5 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1215 页 | 1.44 MB | 1 年前3 Celery v4.4.5 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1215 页 | 1.44 MB | 1 年前3
 Celery 4.4.3 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1209 页 | 1.44 MB | 1 年前3 Celery 4.4.3 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1209 页 | 1.44 MB | 1 年前3
 Celery v4.4.4 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1215 页 | 1.44 MB | 1 年前3 Celery v4.4.4 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1215 页 | 1.44 MB | 1 年前3
 Celery v4.4.6 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1216 页 | 1.44 MB | 1 年前3 Celery v4.4.6 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1216 页 | 1.44 MB | 1 年前3
 Celery v4.4.7 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1219 页 | 1.44 MB | 1 年前3 Celery v4.4.7 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1219 页 | 1.44 MB | 1 年前3
 Celery 4.4.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1185 页 | 1.42 MB | 1 年前3 Celery 4.4.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1185 页 | 1.42 MB | 1 年前3
 Celery 4.4.1 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1188 页 | 1.42 MB | 1 年前3 Celery 4.4.1 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1188 页 | 1.42 MB | 1 年前3
 Celery v4.3.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1174 页 | 1.41 MB | 1 年前3 Celery v4.3.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1174 页 | 1.41 MB | 1 年前3
 Celery 4.4.2 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1188 页 | 1.42 MB | 1 年前3 Celery 4.4.2 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 1188 页 | 1.42 MB | 1 年前3
 Celery v4.3.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y >>> only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 790 页 | 2.84 MB | 1 年前3 Celery v4.3.0 Documentationmessage to a worker. A Celery system can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in of task names to their actual functions, called the task registry. Whenever you define a task, that task will also be added to the local registry: >>> @app.task ... def add(x, y): ... return x + y >>> only do the following: 1. Create a logical clock instance, used for events. 2. Create the task registry. 3. Set itself as the current app (but not if the set_as_current argument was disabled) 4. Call0 码力 | 790 页 | 2.84 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6














