首页 > 解决方案 > 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".

标签: javascriptnode.jssequelize.js

解决方案


“方言选项”:{“连接超时”:30000 }


推荐阅读