var settings = {
  redis: {
    host: "43.247.184.32",
    port: 8967,
    password: "Gongsibao2018",
    db: 15,
  },
  database: function () {
    return {
      dbname: "tasks",
      user: "write",
      password: "write",
      config: {
        host: '43.247.184.35',
        port: 8899,
        dialect: 'mysql',
        operatorsAliases: false,
        pool: {
          max: 5,
          min: 0,
          acquire: 90000000,
          idle: 1000000
        },
        logging: true,
        debug: true,
        dialectOptions: {
          requestTimeout: 999999,
        }  //设置MSSQL超时时间
      }
    };
  },
}
module.exports = settings;
