Skip to content

v2 completely broke several connections to single redis #61

@a-parser

Description

@a-parser

Just abstract example:

(async f1() {
  const client1 = asyncRedis.createClient();
  await client1.blpop("some", 0);
})()

(async f2() {
  const client2 = asyncRedis.createClient();
  await client2.lpush("some", 42); 
})()

f2's lpush will never be called as client1 and client2 share same connection due to new implementation

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