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

refactor: use non-blocking redis methods for keys, remove and clear #600

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dschewchenko
Copy link

These changes follow official Redis recommendations for production environments and improve handling of large datasets.

  • Replaced blocking del with non-blocking unlink for better performance
  • Implemented cursor-based scan instead of keys to prevent server blocking

Use non-blocking async methods as recommended in redis documentation
@dschewchenko dschewchenko requested a review from pi0 as a code owner March 12, 2025 07:10
@dschewchenko dschewchenko changed the title refactor: use recommended methods for keys and clear refactor: use non-blocking redis methods for keys, remove and clear Mar 12, 2025
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.

1 participant