-
Notifications
You must be signed in to change notification settings - Fork 1
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
Long polling #4
Comments
Yes that's a great idea, and how some other queue services work (i.e. SQS). I don't believe this would be too difficult:
I may take a look into this once I get time. Also happy to accept any PRs. |
That makes sense. I'm interested the most in
If nothing is polling, that |
Would it be possible for the
poll
future to stay pending until there's actual data to read? I thought that would be the default behaviour and it surprised me when calls topoll
returned an empty set of messages when there were messages (just none visible at the time).Given how
libqueued
works, I'm not sure if that's possible without using file locks or something like that.The text was updated successfully, but these errors were encountered: