Skip to content

当redis断连,写入命令会永远卡住 #63

@guange2015

Description

@guange2015
try{
  //如果此处redis断连
  await redis.set(xxx,xxxx)
 //永远无法进入到这里
} catch(e){
 //也无法进入到这
}

查了base.ts发现command方法里,如果异常后就没法回调callback了,这样导致Promise永远无法resolve了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions