From fa220e71ca13ee88b0a75a102ebca59553965709 Mon Sep 17 00:00:00 2001 From: Grant Fitzsimmons <37256050+grantfitzsimmons@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:00:40 -0600 Subject: [PATCH] Fix the worker When the variable is specified, I cannot connect to the worker. Requests go unanswered, and I have been manually specifying the database name. However, when I remove the `-Q` option that tells Celery which queue to listen to, I no longer encounter this problem. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6a4c4351453..dfdaa2b85fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,7 +67,7 @@ services: build: context: ./. target: run-development - command: bash -c "ve/bin/celery -A specifyweb worker -l INFO --concurrency=1 -Q $DATABASE_NAME" + command: bash -c "ve/bin/celery -A specifyweb worker -l INFO --concurrency=1" init: true volumes: - "./config:/opt/Specify/config:ro"