javascript - What is the alternative for requestTimeout for Sequelize version 6.13.4?
问题描述
"dialectOptions": {
"requestTimeout": 30000
}
As I know this code works for Sequelize version 4.42.0. Is there any alternative for the version 6.13.4? This is invalid config point as I get the following message "Ignoring invalid configuration option passed to Connection: requestTimeout. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration options to a Connection".
解决方案
“方言选项”:{“连接超时”:30000 }
推荐阅读
- python - 从周数转换为日期时间不起作用:“时间数据 '201T' 与格式 '%Y' 不匹配(匹配)”
- javascript - 使用 Map 方法从数组中显示 PDF
- .net - EF6 生成的 SQL 是无效的 SQL 服务器端
- r - 如何测试绘图在 R 中是否具有固定的纵横比
- python - 如何制作游戏菜单屏幕(没有 UI)
- regex - 查找路径中没有特定子文件夹的文件夹的路径
- c# - 从 moq void 方法返回数据,操作不带参数到正在测试的函数
- python - 黑白图像上的子图像匹配
- javascript - 错误:对象作为 React 子对象无效(发现时间:2019 年 11 月 6 日星期三 19:50:56 GMT+0500(乌兹别克斯坦标准时间))
- android - 如何将此 Java 代码转换为 Kotlin for Android Studio 以检索文件数据?