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

Support UNLINK command #249

Closed
zsblevins opened this issue Aug 13, 2019 · 3 comments
Closed

Support UNLINK command #249

zsblevins opened this issue Aug 13, 2019 · 3 comments

Comments

@zsblevins
Copy link
Contributor

zsblevins commented Aug 13, 2019

Swapping calls from delete to unlink yields:
redis.exceptions.ResponseError: Command # 1 (UNLINK <key>) of pipeline caused error: unknown command 'UNLINK'

@zsblevins
Copy link
Contributor Author

Why it's worth implementing: https://redislabs.com/blog/the-little-known-feature-of-redis-4-0-that-will-speed-up-your-applications/

I can patch it in my tests as needed if there is no plan on implementing it

@bmerry
Copy link
Collaborator

bmerry commented Aug 14, 2019

I don't currently have any plans to implement it (because I have very little time to spend on fakeredis), but on the other hand I think it should be very easy to implement since it can just call del_. I'd be happy to review a pull request.

@zsblevins
Copy link
Contributor Author

Here you go! #250

@bmerry bmerry closed this as completed Aug 15, 2019
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

No branches or pull requests

2 participants