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

建议增加超时控制 #310

Closed
xxlrr opened this issue Feb 26, 2021 · 2 comments
Closed

建议增加超时控制 #310

xxlrr opened this issue Feb 26, 2021 · 2 comments

Comments

@xxlrr
Copy link

xxlrr commented Feb 26, 2021

描述您想要的功能:
通过goInception修改数据库时,goIncep的会话可能被阻塞,希望能增加全局或会话级别的调度选项来控制单挑语句最大执行时间。

描述您考虑过的解决/替代方案:

'>= mysql 5.7.? 可通过session.max_execution_time控制
'< mysql 5.7.? goInception需要自维护定时器(子线程),超时登陆mysql server端kill线程。(曾测试过mysql client端主动结束连接,没用)

可参考文档,资料,引用等:

@stale
Copy link

stale bot commented Mar 16, 2021

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@hanchuanchuan
Copy link
Owner

添加新参数max_execution_time的设置,来控制DML语句的最大执行时间,下载最新版本即可。

@stale stale bot removed the wontfix This will not be worked on label Mar 22, 2021
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

2 participants