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

使用SessionPool时出现Socketexception #506

Closed
hL-ab opened this issue Jan 16, 2023 · 2 comments
Closed

使用SessionPool时出现Socketexception #506

hL-ab opened this issue Jan 16, 2023 · 2 comments
Labels
type/feature req Type: feature request

Comments

@hL-ab
Copy link

hL-ab commented Jan 16, 2023

现象:
com.vesoft.nebula.client.graph.SessionPool#execute中的代码
resultSet = nebulaSession.execute(stmt);
抛出异常Socketexception:断开的管道。推测是因为超时(这并不重要)。

建议:
是否应当捕获该异常,从而能够重连连接?

@Nicole00
Copy link
Contributor

很好的建议。sessionPool 设计时就暂定的不考虑内部的重连重试,这个可以考虑下是不是要加入 @MuYiYong
也欢迎你提pr呀@hL-ab

@QingZ11 QingZ11 added the type/feature req Type: feature request label Mar 31, 2023
@Nicole00
Copy link
Contributor

3.4.1 已支持重连,且pr 能支持更大强度的重连,重连次数和间隔时长允许可配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

3 participants