Skip to content
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

Grjones use setnx for locking #67

Merged
merged 9 commits into from
Apr 26, 2018
Merged

Conversation

cameronmaske
Copy link
Owner

#60 but add's extra documentation and countdown back to AlreadyQueued exception.

@coveralls
Copy link

coveralls commented Apr 25, 2018

Pull Request Test Coverage Report for Build 197

  • 9 of 11 (81.82%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-1.9%) to 96.753%

Changes Missing Coverage Covered Lines Changed/Added Lines %
celery_once/backends/redis.py 8 10 80.0%
Files with Coverage Reduction New Missed Lines %
celery_once/helpers.py 1 97.5%
Totals Coverage Status
Change from base Build 189: -1.9%
Covered Lines: 149
Relevant Lines: 154

💛 - Coveralls

@cameronmaske
Copy link
Owner Author

Steps to remove existing keys for 1.0 -> 2.0 migration.
NOTE: These are untested, use at your own risk.

This will list all celery-once key's (starting with the prefix qo_) then delete them...

redis-cli KEYS "qo_*" | xargs redis-cli DEL

@cameronmaske cameronmaske merged commit 17b8114 into master Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants