Celery 1.0 DocumentationRabbitMQ is running, and that the user/password has access to the virtual host you configured earlier. Right now we have to check the celery worker log files to know what happened with the task. This is because RabbitMQ is running, and that the user/password has access to the virtual host you configured earlier. Right now we have to check the celery worker log files to know what happened with the task. This is because any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. 15 Celery Documentation, Release 1.0.6 (stable) The current default keyword arguments are:0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 1.0 DocumentationRabbitMQ is running, and that the user/password has access to the virtual host you configured earlier. Right now we have to check the celery worker log files to know what happened with the task. This is because RabbitMQ is running, and that the user/password has access to the virtual host you configured earlier. Right now we have to check the celery worker log files to know what happened with the task. This is because any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. The current default keyword arguments are: logfile The log file, can be passed on to self0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.0 Documentationconfigured earlier. 1.3. First steps with Celery 9 Celery Documentation, Release 2.0.3 (stable) Right now we have to check the worker log files to know what happened with the task. This is because we any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. The current default keyword arguments are: • logfile The log file, can be passed on to get_logger() 2.1.4 Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task() def send_twitter_status(oauth, tweet, **kwargs):0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.0 DocumentationRabbitMQ is running, and that the user/password has access to the virtual host you configured earlier. Right now we have to check the worker log files to know what happened with the task. This is because we any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. The current default keyword arguments are: logfile The log file, can be passed on to get_logger() well. Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task() def send_twitter_status(oauth, tweet, **kwargs):0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 2.1 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. This is because we any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. The current default keyword arguments are: task_id The unique id of the executing task. 2.2.4 Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task() def send_twitter_status(oauth, tweet, **kwargs):0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.1 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. This is because we any task. Tasks can choose not to take these, or list the ones they want. The worker will do the right thing. The current default keyword arguments are: task_id: The unique id of the executing task. well. Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task() def send_twitter_status(oauth, tweet, **kwargs):0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.3 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. Applying a task returns 2.2.4 Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task def send_twitter_status(oauth, tweet): try: twitter URL. The cache key expires after some time in case something unexpected happens (you never know, right?) from celery.task import Task from django.core.cache import cache from django.utils.hashcompat import0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. This is because we 2.2.4 Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task def send_twitter_status(oauth, tweet): try: twitter URL. The cache key expires after some time in case something unexpected happens (you never know, right?) from celery.task import Task from django.core.cache import cache from django.utils.hashcompat import0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.2 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. This is because we well. Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task def send_twitter_status(oauth, tweet): try: URL. The cache key expires after some time in case something unexpected happens (you never know, right?) from celery.task import Task from django.core.cache import cache from django.utils.hashcompat import0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.3 DocumentationThe message broker will hold on to the task until a worker server has consumed and executed it. Right now we have to check the worker log files to know what happened with the task. Applying a task returns well. Retrying a task if something fails Simply use retry() to re-send the task. It will do the right thing, and respect the max_retries attribute: @task def send_twitter_status(oauth, tweet): try: URL. The cache key expires after some time in case something unexpected happens (you never know, right?) from celery.task import Task from django.core.cache import cache from django.utils.hashcompat import0 码力 | 530 页 | 900.64 KB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













