#!/usr/bin/bash
set -e

# wait for auxiliary services
poetry run python manage.py await_services

# run stock_updater
poetry run celery -A evibes worker --pool=prefork --concurrency=1 --queues=stock_updater --loglevel=info --max-tasks-per-child=1
