Skip to content

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

Description

@dvir-redis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions