From 2a05822f6ef8a72b72985198f45949bd01ef1c97 Mon Sep 17 00:00:00 2001 From: greenpant <132417871+greenpant@users.noreply.github.com> Date: Thu, 14 May 2026 14:31:57 +0800 Subject: [PATCH 1/3] Add celery worker options to supervisor config --- .../support-files/templates/#etc#supervisor-usermgr-api.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/support-files/templates/#etc#supervisor-usermgr-api.conf b/src/api/support-files/templates/#etc#supervisor-usermgr-api.conf index 8d2257d9f..8be382142 100644 --- a/src/api/support-files/templates/#etc#supervisor-usermgr-api.conf +++ b/src/api/support-files/templates/#etc#supervisor-usermgr-api.conf @@ -36,7 +36,7 @@ environment= PATH="__BK_HOME__/.envs/usermgr-api/bin/", DJANGO_SETTINGS_MODULE="bkuser_core.config.overlays.prod", LOGS_PATH="__BK_HOME__/logs", -command=__BK_HOME__/.envs/usermgr-api/bin/celery -A bkuser_core worker -l info --concurrency=8 --max-tasks-per-child=1 +command=__BK_HOME__/.envs/usermgr-api/bin/celery -A bkuser_core worker -l info --concurrency=8 --max-tasks-per-child=1 --without-gossip --without-mingle --without-heartbeat autostart=true autorestart=true redirect_stderr=true @@ -53,4 +53,4 @@ command=__BK_HOME__/.envs/usermgr-api/bin/celery -A bkuser_core beat -l info --s autostart=true autorestart=true redirect_stderr=true -stdout_logfile=__BK_HOME__/logs/usermgr/beat.log \ No newline at end of file +stdout_logfile=__BK_HOME__/logs/usermgr/beat.log From dc283c93af2f02f6b40f3acbcdd4064e9dd4726e Mon Sep 17 00:00:00 2001 From: greenpant <132417871+greenpant@users.noreply.github.com> Date: Thu, 14 May 2026 14:39:17 +0800 Subject: [PATCH 2/3] Update Celery command with additional options --- .../support-files/templates/#etc#supervisor-usermgr-api.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/api/support-files/templates/#etc#supervisor-usermgr-api.conf b/src/build/api/support-files/templates/#etc#supervisor-usermgr-api.conf index 4e89f32dd..96d02f1e4 100644 --- a/src/build/api/support-files/templates/#etc#supervisor-usermgr-api.conf +++ b/src/build/api/support-files/templates/#etc#supervisor-usermgr-api.conf @@ -36,7 +36,7 @@ environment= PATH="__BK_HOME__/.envs/usermgr-api/bin/", DJANGO_SETTINGS_MODULE="bkuser_core.config.overlays.prod", LOGS_PATH="__BK_HOME__/logs", -command=__BK_HOME__/.envs/usermgr-api/bin/celery -A bkuser_core worker -l info --concurrency=8 --max-tasks-per-child=1 +command=__BK_HOME__/.envs/usermgr-api/bin/celery -A bkuser_core worker -l info --concurrency=8 --max-tasks-per-child=1 --max-tasks-per-child=1 --without-gossip --without-mingle --without-heartbeat autostart=true autorestart=true redirect_stderr=true From fa18cd20e86d3a220f4c19052b55d10d54a2cd03 Mon Sep 17 00:00:00 2001 From: greenpant <132417871+greenpant@users.noreply.github.com> Date: Thu, 14 May 2026 14:41:03 +0800 Subject: [PATCH 3/3] Fix stdout_logfile path in supervisor config