In Progress
- New: Addition of
ShortLivedStrictRedis
andShortLivedSentinel
. Both of them use short-lived connections which disconnect from redis as soon as the query to redis is complete. - Fixed: All sentinel connections are now created via
ShortLivedSentinel
. This fixes an issue when sentinel would reach its max connections limit since all celery workers would always be connected to sentinel. That is not necessary since sentinel is queried very rarely for the current master connection details. In addition this is useful when Redis Sentinel is used behind a firewall since sentinel would not notice when firewall would close the connections and so would not release them.
New: Added
EnsuredRedisTask
which allows to ensure tasks are scheduled via an abstract base task class in task definition rather then explicitly usingensure_redis_call
while calling the task:@app.task(base=EnsuredRedisTask) def foo(): pass
- First release