Closed odiel closed 8 years ago
Hi,
you're using the synchronous API which is guarded by the connection timeout settings. This timeout setting applies to all synchronous method calls and does not depend on method arguments. You can set the timeout on DisqueConnection
using setTimeout
because there's another bug where the timeout from DisqueURI
is not applied to the connection timeout settings (#29).
Closing, no further activity.
Hi I'm trying to have a process listening forever for new jobs coming into a queue, for that I'm doing the following code:
But the process times out a minute after the queue is empty. Tracking down how this happened I ended up here:
File: \biz\paluch\redis\spinach\0.3\spinach-0.3-sources.jar!\biz\paluch\spinach\impl\FutureSyncInvocationHandler.java
I think the method should be using the provided timeout instead of the connection one.