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

Worker existing on uncaught exception after 10 minutes of no connection #239

Open
dvir-redis opened this issue Dec 15, 2022 · 0 comments
Open

Comments

@dvir-redis
Copy link

dvir-redis commented Dec 15, 2022

Hi,
After 10 minutes (BTW - non configurable) of no connection to Redis server

protected static final int RECONNECT_ATTEMPTS = 120; // Total time: 10 min

The worker process is terminated with uncaught exception

this.jedis.srem(key(WORKERS), this.name);

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 :) ...

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

1 participant