tedis icon indicating copy to clipboard operation
tedis copied to clipboard

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

Open guange2015 opened this issue 3 years ago • 0 comments

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

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

guange2015 avatar Jul 27 '22 09:07 guange2015