Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guange2015 opened this issue Jul 27, 2022 · 0 comments
Open

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

guange2015 opened this issue Jul 27, 2022 · 0 comments

Comments

@guange2015
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant