I run django web in development mode in windows powershell on windows server. I had some issues to make different tasks with different priorities, and run them in parallel instead of one by one.
Tried to include "priority=1" in @background, it reported errors about no such parameters. @background(schedule=0, queue='1-qc-queue', priority=1)
I even run two queue like "1-queue" and "2-queue" in two windows powershell "python manage.py process_tasks --queue 1-queue" "python manage.py process_tasks --queue 2-queue"
but I saw all tasks are always with "priority=0" in background tasks table.
- Tried to run multiple tasks in parallel: BACKGROUND_TASK_RUN_ASYNC = True but window powershell quit immediately