0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/bin/temporal-django-worker
Brett Hoerner bc553938e3
chore(batch-exports): add some Prometheus metrics for batch exports (#18467)
* chore(batch-exports): add some Prometheus metrics for batch exports

* make metrics port an option/setting

* get destination from workflow_type
2023-11-09 09:22:25 -07:00

10 lines
130 B
Bash
Executable File

#!/bin/bash
set -e
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
python3 manage.py start_temporal_worker "$@"
wait