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

can't config db of redis for lock #139

Open shengulong opened 5 years ago

shengulong commented 5 years ago

lack of db

        sentinel = Sentinel(redis_options['sentinels'],
                            socket_timeout=redis_options.get('socket_timeout'),
                            password=redis_options.get('password'),
                            db=redis_options.get('db'),
                            decode_responses=True)
sudoguy commented 4 years ago

@sibson firstly, many thanks for this great scheduler! 😄 Actually, this line is not in release package on PyPi https://github.com/sibson/redbeat/blob/master/redbeat/schedulers.py#L139 I notice that cause RedBeat scheduler always connects to 0. Please, check this in source code on PyPi https://pypi.org/project/celery-redbeat/#files