databases.yml 868 Bytes
datasources:
   q_msg_system:
      servers:
        - ${jdbc.mysql.yhpush.master}
        - ${jdbc.mysql.yhpush.slave}
      username: ${jdbc.mysql.yhpush.username}
      password: ${jdbc.mysql.yhpush.password}
      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

readOnlyInSlave: ${readOnlyInSlave}