kidig / beatlock

Celery Beat failover for multi-cluster infrastructure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

beatlock

Celerybeat failover on Redis-Sentinel. Works together with django_celery_beat.

Installation

pip install beatlock

Configuration

# to set this scheduler instead default one
CELERY_BEAT_SCHEDULER = "beatlock.schedulers.BeatLockScheduler"

# for disable locking mechanism
CELERY_BEATLOCK_LOCK_DISABLED = True  # default: False

About

Celery Beat failover for multi-cluster infrastructure.

License:MIT License


Languages

Language:Python 100.0%