-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sentinel backend #117
base: master
Are you sure you want to change the base?
Add sentinel backend #117
Conversation
@julienCozo Thanks for the contribution. Before this can get released, can you add some tests? |
celery_once/backends/sentinel.py
Outdated
|
||
def __init__(self, settings): | ||
""" | ||
settings are like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we clean up this docstring slightly or just remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
b1edf5f
to
b96593f
Compare
.idea/.gitignore
Outdated
# Default ignored files | ||
/workspace.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think .idea
directory belongs here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, sorry
b96593f
to
9a4b4bb
Compare
Sentinel just return a StrictRedis instance, so tests are quite the sames. I don't have time for now but maybe later. |
Sentinel unit tests
Hi, how soon will be merged this pull request? |
Add a backend to use sentinel redis cluster