Skip to content

How to not wait connection for get command #1888

Description

@mogadanez

I'm using Redis as an optional cache layer.
if its failed to connect - it is wait infinitely on GET command and not

tried to set commandsQueueMaxLength:0

is it any other way to change behavior to fail on operations if its not yet connected?
or in worse case specify operation timeout

Environment:

  • Node.js Version: 14
  • Redis Server Version: 6.0.5
  • Node Redis Version: 4.0.3
  • Platform: Mac OS 12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions