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

blocking receive #24

Open
0x8f701 opened this issue May 24, 2024 · 2 comments
Open

blocking receive #24

0x8f701 opened this issue May 24, 2024 · 2 comments

Comments

@0x8f701
Copy link
Contributor

0x8f701 commented May 24, 2024

currently receive tries to fetch every x seconds which is not ideal

@0x8f701
Copy link
Contributor Author

0x8f701 commented May 24, 2024

a possible solution is to use keyspace events: https://medium.com/nerd-for-tech/redis-getting-notified-when-a-key-is-expired-or-changed-ca3e1f1c7f0a

it's not good because it relies on redis configuration

@DavidBM
Copy link
Owner

DavidBM commented May 30, 2024

There is a realtime subscription option. You might need to listed to the events on your own and then execute the recv. Would that work for you?

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