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

feat: add watch and unwatch commands #1347

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

Conversation

MiniGod
Copy link

@MiniGod MiniGod commented Jun 4, 2024

I tried following the style of the rest of the repo. All tests are passing. E2E too.

The one thing I'm least confident about is the event emitter I used to let the "client" know about changed keys to track changed keys. If you have a better solution for it, let me know.
A side-effect of using an event emitter like I did, is that a lot of tests emit a warning about the number of listeners since the same context is used in many tests, but the Redis instances are not always disconnected, so the clients pile up.

Solves #1334

@MiniGod MiniGod force-pushed the add-commands-watch-unwatch branch from d485615 to 63f58f0 Compare June 4, 2024 00:35
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