sibson / redbeat

RedBeat is a Celery Beat Scheduler that stores the scheduled tasks and runtime metadata in Redis.
Apache License 2.0
907 stars 130 forks source link

RedisCluster is on EOL #260

Open XayOn opened 10 months ago

XayOn commented 10 months ago

RedBeat uses redis-py-cluster. It's been 2 years since main redis-py project has incorporated cluster support.

References

https://github.com/sibson/redbeat/blob/5d1d5c154d2e080d3135afee235321abf5d2da5b/redbeat/schedulers.py#L143

Fix

A simple


from redis.cluster import RedisCluster

Should do the trick.

XayOn commented 10 months ago

Note that this would drop support to redis-py < 4.1, but will avoid potential issues with unmantained redis-py-cluster