-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[ 功能建议 ]为各种数据库的连接函数添加超时相关参数 #1311
Comments
实例信息可以增加一个字段,字典格式存储连接初始化的附加参数,在engine初始化时传入 |
我是想直接写入代码中,简化配置。其他类型的engine也是这么做。 |
嗯,先把超时加上 |
weideguo
added a commit
to weideguo/Archery
that referenced
this issue
Jan 10, 2022
hhyo
pushed a commit
that referenced
this issue
Jan 11, 2022
hhyo
pushed a commit
that referenced
this issue
Jan 22, 2022
* 添加redis/pg创建连接时的超时参数 (#1311) * 审计功能增强 * 审计功能SQL调整 * 审计功能增强CI依赖文件 * 移除migrations * 修复登录时用户不存在的bug以及记录登录的浏览器信息 * 无用包移除,额外信息移除ua * bootstrap-table升级到1.19.1以支持onExportSaved事件 * 下载动作记录详细查询信息 * 修改判断方法以兼容bootstrap-table1.19.1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前遇到的问题/使用障碍
engines目录下部分类型的数据库的get_connection函数没有设置超时语句,如果数据库连接不上,会导致整个系统卡死。
希望如何解决/实现它
为所有的get_connection函数添加相应的超时参数
如:
pg connect_timeout=10
redis socket_connect_timeout=10
The text was updated successfully, but these errors were encountered: