From 5618e172fbc20b31b273fea6980e3e11b42fce1f Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 8 Oct 2024 13:54:14 -0700 Subject: [PATCH 1/5] testing change to docman celery worker --- services/document-manager/backend/celery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-manager/backend/celery.sh b/services/document-manager/backend/celery.sh index 5dd2a323c7..811215297f 100755 --- a/services/document-manager/backend/celery.sh +++ b/services/document-manager/backend/celery.sh @@ -2,6 +2,6 @@ cd /app -celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 +celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n doc_man@%h celery -A app.tasks.celery flower --detach --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file From 8e46824226f3f28307804e908987adbeda66008f Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 8 Oct 2024 14:11:39 -0700 Subject: [PATCH 2/5] name change --- services/document-manager/backend/celery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-manager/backend/celery.sh b/services/document-manager/backend/celery.sh index 811215297f..5c6862dff5 100755 --- a/services/document-manager/backend/celery.sh +++ b/services/document-manager/backend/celery.sh @@ -2,6 +2,6 @@ cd /app -celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n doc_man@%h +celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n document_manager_service@%h celery -A app.tasks.celery flower --detach --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file From 4d97449681c313d47e113a9c0cbd4efa480493ec Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 8 Oct 2024 15:23:17 -0700 Subject: [PATCH 3/5] reverting docman celery.sh change --- services/document-manager/backend/celery.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/document-manager/backend/celery.sh b/services/document-manager/backend/celery.sh index 5c6862dff5..27c9fc407c 100755 --- a/services/document-manager/backend/celery.sh +++ b/services/document-manager/backend/celery.sh @@ -2,6 +2,5 @@ cd /app -celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n document_manager_service@%h - +celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 celery -A app.tasks.celery flower --detach --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file From 7bf378ae1826c6d8a823502e66f4b925139c27c3 Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 8 Oct 2024 16:00:43 -0700 Subject: [PATCH 4/5] adding back name and detach to worker --- services/document-manager/backend/celery.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/document-manager/backend/celery.sh b/services/document-manager/backend/celery.sh index 27c9fc407c..6b91485d78 100755 --- a/services/document-manager/backend/celery.sh +++ b/services/document-manager/backend/celery.sh @@ -2,5 +2,5 @@ cd /app -celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -celery -A app.tasks.celery flower --detach --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file +celery -A app.tasks.celery worker --detach --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n document_manager_service@%h +celery -A app.tasks.celery flower --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file From b77a9ddf75aec5e8c3f4e6681e6f6621a79b4d32 Mon Sep 17 00:00:00 2001 From: Sinn Date: Wed, 9 Oct 2024 13:34:24 -0700 Subject: [PATCH 5/5] testing out detach in worker --- services/document-manager/backend/celery.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/document-manager/backend/celery.sh b/services/document-manager/backend/celery.sh index 6b91485d78..223396366f 100755 --- a/services/document-manager/backend/celery.sh +++ b/services/document-manager/backend/celery.sh @@ -2,5 +2,5 @@ cd /app -celery -A app.tasks.celery worker --detach --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n document_manager_service@%h -celery -A app.tasks.celery flower --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file +celery -A app.tasks.celery worker --loglevel=info --logfile=/tmp/celery/celery.log --pidfile=/tmp/celery/celery.pid --concurrency=1 -n document_manager_service@%h +celery -A app.tasks.celery flower --detach --basic_auth=${FLOWER_USER}:${FLOWER_USER_PASSWORD} \ No newline at end of file