Skip to content

redisClient.end() without flush #101

@ghost

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.

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