Skip to content

redisClient.end() without flush #101

Description

Hello,

I'm seing a warning from redis when running test:

node_redis: Using .end() without the flush parameter is deprecated and throws from v.3.0.0 on.
Please check the doku (https://github.com/NodeRedis/node_redis) and explictly use flush.

You can see the method documented here: redis.end(flush)

the flush param now is mandatory, so we need to either add the flush param or to change the .end() for .quit() that allows all pending operations to end.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions