-
Notifications
You must be signed in to change notification settings - Fork 13
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
getJob() is throwing an exception if no Job is in the queue #6
Comments
This seems to be a bug. The desired behavior is an empty List On 04:39, Wed, Jun 3, 2015 Marco Zapletal [email protected] wrote:
|
I believe this is not a bug, the default implementation if disque is to block the connection when doing a If you don't want to your client to block for a job then you need to use the |
Regarding the default 2000ms timeout, I'll open a new issue so we can make that configurable. |
I think it is a bug though. |
If no job is in the queue
getJob()
throws an Exception. Is this the desired/expected behavior? I would rather have expected that an emptyList<Job>
is returnedThe text was updated successfully, but these errors were encountered: