celery-task
How to make a celery task fail from within the task?
Under some conditions, I want to make a celery task fail from within that task. I tried the following:[详细]
2023-04-11 17:10 分类:问答Deleting all pending tasks in celery / rabbitmq
How can I delete all pending tasks without knowing the task_id for each 开发者_Python百科task?From the docs:[详细]
2023-03-29 16:09 分类:问答result.wait() does nothing but hang and doesn't give 8 for result=add.delay(4,4)
add is the task from celery doc.I\'m just so confused why it does\'nt yield 8 as it should, 开发者_如何学Gobut instead does nothing but hang.Did you try setting result back-end, this fixed problem in[详细]
2023-03-04 23:18 分类:问答Retry a task in celery by task_id
I\'ve launched a lot of tasks, but some of then hasn\'t finished (763 tasks), are in PENDING state, but the sy开发者_运维问答stem isn\'t processing anything...[详细]
2023-02-13 16:50 分类:问答Best way to query Celery using AJAX from front-end to know if a created task is completed or not?
I am using Django with Celery + RabbitMQ to create video conversion tasks of videos being uploaded by the users. Now I know how to query celery to get the status. My question is where to save the task[详细]
2023-02-07 08:43 分类:问答Add functions dynamically to existing celery worker processes?
I\'m getting started with celery and I want to know if it is possible to add modules to celeryd processes that have already been started. In other words, instead of adding modules via celeryconfig.py[详细]
2023-02-04 03:11 分类:问答Celery with non-homogenous tasks
I have two celery workers, worker 1 has tasks A and B, worker 2 with tasks A, B, and C. If I submit a task C, it doesn\'t seem to be executed in th开发者_运维知识库e celery worker that has task C; is[详细]
2023-01-25 17:08 分类:问答Django Celery AbortableTask usage
I\'m trying to use the AbortableTask feature of Celery but the documentation example doesn\'t seem to be working for me.The e开发者_JS百科xample given is:[详细]
2023-01-14 22:56 分类:问答Django Celery implementation - OSError : [Errno 38] Function not implemented
I installed django-celery and I tried to start up the worker server but I get an OSError that a function isn\'t implemented.I\'m running CentOS release 5.4 (Final) on a VPS:[详细]
2023-01-08 17:47 分类:问答Allow Celery Worker to consume messages from non task queue
I have a django backend which is running Celery for distributed tasks. I have created a Service bus queue which stores temperature data coming from hundred of frontend devices.[详细]
2022-12-07 17:48 分类:问答