mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
66780ceef7
* add warning script to settings and docker-worker in case REDIS_URL is not found * test celery heartbeat * save celery heartbeat in redis * /_stats/ with worker heartbeat * refactor top content * show worker stats * heartbeat delay to 90sec * update worker error message * remove line * add redbeat schdeduler * add redbeat for local development
6 lines
127 B
Bash
Executable File
6 lines
127 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# start celery worker with heartbeat (-B)
|
|
celery -A posthog worker -B --scheduler redbeat.RedBeatScheduler
|