Open dvir-redis opened 1 year ago
Hi, After 10 minutes (BTW - non configurable) of no connection to Redis server https://github.com/gresrun/jesque/blob/c6653eda6d3c3b7ef03ad5c7612dce987170e62e/src/main/java/net/greghaines/jesque/worker/WorkerImpl.java#L66
The worker process is terminated with uncaught exception https://github.com/gresrun/jesque/blob/c6653eda6d3c3b7ef03ad5c7612dce987170e62e/src/main/java/net/greghaines/jesque/worker/WorkerImpl.java#L227 when trying to reach Redis in the finally block after poll() method ended with shutdown request. Jedis is not connected and throwing uncaught error. Not sure that this is the expected behavior, however I guess the outcome is the same :) ...
finally
poll()
Hi, After 10 minutes (BTW - non configurable) of no connection to Redis server https://github.com/gresrun/jesque/blob/c6653eda6d3c3b7ef03ad5c7612dce987170e62e/src/main/java/net/greghaines/jesque/worker/WorkerImpl.java#L66
The worker process is terminated with uncaught exception
https://github.com/gresrun/jesque/blob/c6653eda6d3c3b7ef03ad5c7612dce987170e62e/src/main/java/net/greghaines/jesque/worker/WorkerImpl.java#L227 when trying to reach Redis in the
finally
block afterpoll()
method ended with shutdown request. Jedis is not connected and throwing uncaught error. Not sure that this is the expected behavior, however I guess the outcome is the same :) ...