celery
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 分类:问答Disable Django Debugging for Celery
Is it possible to set DEBUG=False for only a specific app in Django? Celery has a known memory leak when debugging is enabled. I have a development server where I want Celery to run as a service, with[详细]
2023-02-07 07:59 分类:问答Adding a view counter to objects using Django Celery
Not that it matters, but this is a follow-up to this question. 开发者_C百科 I want to keep a count of how many times each object in my database has been viewed. Let\'s say we have a Person model, wit[详细]
2023-02-06 12:46 分类:问答What's the oldest version of RabbitMQ that works with Celery v2.1.4?
What\'s the minimum开发者_StackOverflow version of RabbitMQ that Celery v2.1.4 can work with?It should work with versions all the way down to 1.7.[详细]
2023-02-05 06:32 分类:问答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 分类:问答Is there a way to make Celery/RabbitMQ persistent?
S开发者_Go百科o that if my server crashes, I still have my Tasks?RabbitMQ can be persistent, and Celery sends persistent messages by default, so you don\'t have to do anything to enable this.rabbitmq[详细]
2023-02-01 23:39 分类:问答Django Asynchronous Processing
I have a bunch of Django requests which executes some mathematical computations ( written in C and executed via a Cython module ) which may take an indeterminate amount ( on the order of 1 second ) of[详细]
2023-02-01 20:05 分类:问答Using djcelery to scrape a website and populate django models
I\'m having trouble getting celery working with django. I want to use celery to scrape a website and update some django models every 20 minutes.[详细]
2023-02-01 10:33 分类:问答In Celery, how do I run a task, and then have that task run another task, and keep it going?
#tasks.py from celery.task import Task class Randomer(Task): def run(self, **kwargs): #run Randomer again!!![详细]
2023-02-01 08:12 分类:问答Is there something wrong with my Python code? (functions)
#tasks.py from celery.decorators import task @task() def add(x, y): add.delay(1, 9) return x + y >>> import tasks[详细]
2023-02-01 07:53 分类:问答