Celery executing only one task at a time

I'm running celery on windows through this command

celery -A project worker --concurrency=1 --loglevel=info -E -P gevent -Ofair

but it only executes one task at a time, even tried to add some configurations

import os
from celery import Celery

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
app = Celery("django_celery")

app.conf.worker_prefetch_multiplier = 1
app.conf.task_acks_late = True

app.config_from_object("django.conf:settings", namespace="CELERY")

I've no idea what I'm doing wrong

Back to Top