python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
django celery delay function use guest user
Hello I want to use celery tasks in my Django project
When I run the celery -A proj worker -l INFO all good it connects to the rabbitmq server
But I have a problem when I run the task add.delay(1, 1) ...
Saarsa
Votes: 0
Answers: 0
Fetching results from Celery backend is abnormally slow
I'm using Celery with a Redis broker to do some "heavy" processing for my Django app. Everything is running locally in Docker containers on WSL2.
The tasks output a JSON which is roughly 2.5...
mdef
Votes: 0
Answers: 1
Django, ImportError: cannot import name 'task' from 'celery'
I have Django application that was using Celery version 4.4.2, which was working fine.
from celery import task
import logging
@task(ignore_result=True)
def log_user_activity(user_id):
try:
...
Avi
Votes: 0
Answers: 2
TypeError("predictions() missing 1 required positional argument: 'solvent'") while using celery
I am doing inference on two strings using celery and django rest framework but I am getting error while using .delay() or apply_async(). I am not getting the predicted response
#views.py
@api_view(['G...
harsh
Votes: 0
Answers: 1