run-celery-with-beat.sh 430 B

123456789101112
  1. #!/usr/bin/env bash
  2. export IS_CELERY="true"
  3. export CELERY_SKIP_CHECKS="true"
  4. CELERY_WORKER_POOL="${CELERY_WORKER_POOL:-'threads'}"
  5. CELERY_WORKER_CONCURRENCY="${CELERY_WORKER_CONCURRENCY:-10}"
  6. CELERY_WORKER_PREFETCH_MULTIPLIER="${CELERY_WORKER_PREFETCH_MULTIPLIER:-11}"
  7. CELERY_WORKER_MAX_TASKS_PER_CHILD="${CELERY_WORKER_MAX_TASKS_PER_CHILD:-10000}"
  8. set -e
  9. exec celery -A glitchtip worker -l info -B -s /tmp/celerybeat-schedule