schon/scripts/Docker/worker-entrypoint.sh
2026-01-25 23:16:38 +03:00

6 lines
269 B
Bash

#!/usr/bin/bash
set -e
uv run manage.py await_services
uv run celery -A schon worker --pool=prefork --concurrency=8 --queues=default --prefetch-multiplier=2 --max-tasks-per-child=100 --max-memory-per-child=512000 -E & /opt/schon-python/bin/celery-prometheus-exporter