* chore: initial setup for webhook consumer * feat: adding outbox poller app * chore: implement base consumer * chore: webhook consumer updated with preload information * fix: bugs in webhook consumer * fix: update logs * fix: updated comments * fix: merge conflicts
12 lines
261 B
Bash
Executable File
12 lines
261 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
python manage.py wait_for_db
|
|
# Wait for migrations
|
|
python manage.py wait_for_migrations
|
|
|
|
|
|
# Run the processes
|
|
python manage.py run_webhook_consumer \
|
|
--queue ${WEBHOOK_QUEUE_NAME:-plane.webhook} \
|
|
--prefetch ${WEBHOOK_PREFETCH_COUNT:-10} |