summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-10-13 17:05:11 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-02-05 10:49:37 +0100
commitfb9ca2c2704768dcd8b1b2d27741a2c043834f56 (patch)
tree5a468a927f57339a4b3467964b2cfb3ec88dd320 /Makefile.example
parentf6ff3b698c548098023135b97e62ec69a23bdd3c (diff)
downloadIshtar-fb9ca2c2704768dcd8b1b2d27741a2c043834f56.tar.bz2
Ishtar-fb9ca2c2704768dcd8b1b2d27741a2c043834f56.zip
✨ background task: set a low priority queue for imports
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example
index 7773481e6..c23b333d5 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -183,7 +183,9 @@ runalt: ## run test server on port 9000
cd $(project); $(PYTHON) manage.py runserver 0.0.0.0:9000
runcelery: ## run a celery worker
- celery -A example_project worker -l INFO # -l DEBUG -f debug-celery.log
+ celery -A example_project worker -Q celery -l INFO &
+ celery -A example_project worker -Q low_priority -l INFO
+ # -l DEBUG -f debug-celery.log
blackd: ## blackd service
$(VENV)bin/blackd