databases.yml 1.01 KB
datasources:
   q_msg_system:
      username: ${jdbc.mysql.cobar.username}
      password: ${jdbc.mysql.cobar.password}
      cobar: true
      maxConnections: 80
   
   yh_inbox:
      username: ${jdbc.mysql.cobar.username}
      password: ${jdbc.mysql.cobar.password}
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40
      daos:
        - com.yoho.message.dal.InBoxMapper
   
   yoho_passport:
      servers:
        - ${jdbc.mysql.yhpassport.master}
        - ${jdbc.mysql.yhpassport.slave}
      username: ${jdbc.mysql.yhpassport.username}
      password: ${jdbc.mysql.yhpassport.password}
      maxConnections: 30
      daos:
        - com.yoho.message.dal.IUserProfileDao
        - com.yoho.message.dal.IWechatTemplateDao

   yh_wechat:
     username: ${jdbc.mysql.cobar.username}
     password: ${jdbc.mysql.cobar.password}
     cobar: true
     maxConnections: 80
     minIdle: 20
     maxIdle: 40
     daos:
       - com.yoho.message.dal.IMiniSubscribeDAO

readOnlyInSlave: ${readOnlyInSlave}