#######################################
# MasterSlavePool.cfg
#######################################

#======================================
# General Server Properties (number should
# coincide with number of slaves) :
#--------------------------------------

replic.server.debug=false
replic.server.verbose=true

#  how many seconds to sleep between replications (
#  properties: <replic slave-1>, <replic slave-2>, ...
#  must be synchronized with  Slave Pools Properties below (sec) :
replic.server.ReplicInterval=5

# how many times reuse PreparedStatement Cache before reusing it:
replic.server.PstmtReuseCount=1000


# =====================================
# cleanup thread props
# -------------------------------------

#  how many seconds to sleep between log cleanups (sec) - default is 24hr:
replic.server.CleanLogInterval=86400

#  interval how long to wait when checking for a lock (sec)
replic.server.HowOldLog=10

#

#======================================
# Master Pool Properties:
#--------------------------------------
replic.master.JDBCDriver=org.postgresql.Driver
replic.master.ConnectionPoolSize=1
replic.master.ConnectionPoolMax=1
replic.master.ConnectionUseCount=1000
replic.master.ConnectionTimeout=2
# change this to correspond to you master database settings:
replic.master.JDBCConnectionURL=jdbc:postgresql://_master_server_:_master_port_/_master_database_
replic.master.user=_master_user_
replic.master.password=_master_pass_

#======================================
# Slave Pools Properties:
# if you have several slaves - set properties
# in comma seprated manner like:
# replic.slave.JDBCDriver=org.postgresql.Driver,org.postgresql.Driver
#--------------------------------------
replic.slave.JDBCDriver=org.postgresql.Driver
replic.slave.ConnectionPoolSize=1
replic.slave.ConnectionPoolMax= 3
replic.slave.ConnectionUseCount=1000
replic.slave.ConnectionTimeout=2
# change this to correspond to you slave database settings:
replic.slave.JDBCConnectionURL=jdbc:postgresql://_slave_server_:_slave_port_/_slave_database_
replic.slave.user=_slave_user_
replic.slave.password=_slave_pass_
