the hook orm taking too long to load

前端 未结 8 1814
悲&欢浪女
悲&欢浪女 2020-12-05 14:17

i am using two database adapters with sails.

one for mondoDB and second for mysql.whenever i run command \"sails lift\".once it gives an error

error         


        
8条回答
  •  猫巷女王i
    2020-12-05 15:02

    It is likely best to do this on a per env basis. Under config directory, you will have something like:

    Then enter, inside module.exports of each:

    module.exports = {
    
      hookTimeout: 40000
    
    }
    

    Notice, there is no need for an underscore in front of the attribute name either.

提交回复
热议问题