Guest User

Untitled

a guest
May 24th, 2017
151
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. master {
  2.   profile = "slick.jdbc.MySQLProfile$"
  3.   db {
  4.     driver = "org.mariadb.jdbc.Driver"
  5.     url = "jdbc:mysql:aurora://cluster-name.cluster-xxx.us-east-1.rds.amazonaws.com/db_name?characterEncoding=utf8mb4&rewriteBatchedStatements=true&usePipelineAuth=false"
  6.     user = "rw_user"
  7.     password = "rw_user_pass"
  8.     numThreads = 20
  9.     queueSize = 1000000
  10.   }
  11. }
  12. slaves = [
  13.   {
  14.     profile = "slick.jdbc.MySQLProfile$"
  15.     db {
  16.       driver = "org.mariadb.jdbc.Driver"
  17.       url = "jdbc:mysql:failover://cluster-name.cluster-ro-xxx.us-east-1.rds.amazonaws.com/db_name?characterEncoding=utf8mb4&usePipelineAuth=false"
  18.       user = "ro_user"
  19.       password = "ro_user_pass"
  20.       numThreads = 20
  21.       queueSize = 1000000
  22.     }
  23.   }
  24. ]
RAW Paste Data