We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RedisCache.clear()
Redis_client.keys
Issue: werkzeug.contrib.cache.RedisCache.clear() invokes Redis_client.keys(..) The KEYS command is not recommended for production usage.
werkzeug.contrib.cache.RedisCache.clear()
Redis_client.keys(..)
KEYS
Python: 2.7.6 Werkzeug: Latest version
Proposal: Update the clear method to use the recommended 'SCAN' command of redis.
clear
If there is agreement on this feature - I can attempt a patch.
The text was updated successfully, but these errors were encountered:
close it via #1249
Sorry, something went wrong.
No branches or pull requests
Issue:
werkzeug.contrib.cache.RedisCache.clear()
invokesRedis_client.keys(..)
The
KEYS
command is not recommended for production usage.Python: 2.7.6
Werkzeug: Latest version
Proposal:
Update the
clear
method to use the recommended 'SCAN' command of redis.If there is agreement on this feature - I can attempt a patch.
The text was updated successfully, but these errors were encountered: