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

6 lines
223 B
Bash

#!/usr/bin/bash
set -e
uv run manage.py await_services
uv run celery -A schon worker --pool=prefork --concurrency=1 --queues=stock_updater --prefetch-multiplier=1 --max-tasks-per-child=5 --max-memory-per-child=1024000 -E