fix(celery): cap worker memory at 3g
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m38s
CI/CD Pipeline / Run Tests (push) Successful in 2m58s
CI/CD Pipeline / Telegram Notify Success (push) Successful in 19s

This commit is contained in:
2026-03-23 10:29:09 +01:00
parent c28b603831
commit b4260d53cb
3 changed files with 12 additions and 1 deletions

View File

@@ -17,4 +17,5 @@ esac
exec celery -A core worker \
--loglevel="${CELERY_LOG_LEVEL:-INFO}" \
--concurrency="${CELERY_WORKER_CONCURRENCY:-2}"
--concurrency="${CELERY_WORKER_CONCURRENCY:-1}" \
--max-memory-per-child="${CELERY_WORKER_MAX_MEMORY_PER_CHILD_KB:-3145728}"