Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####
- ### Настройки базы данных
- ## Соединение
- #хост
- URL=jdbc:mysql://localhost/ares_game?useUnicode=true&characterEncoding=UTF-8
- # логин
- Login = aresgame
- # пароль
- Password = kCMCMxNZ91jWsxX
- ## Тонкая настройка (!!только если на 100% уверены, что делаете!!)
- # Min no of connections the pool will (initially) create (per partition)
- MinConnectionsPerPartition = 10
- # Max no of connections the pool will ever create (per partition).
- MaxConnectionsPerPartition = 30
- # Sets number of partitions to use.
- PartitionCount = 5
- # Number of new connections to create in 1 batch whenever we need more connections.
- AcquireIncrement = 5
- # This sets the time (in minutes), for a connection to remain idle before sending a test query to the DB.
- IdleConnectionTestPeriod = 10
- # Maximum age of an unused connection before it is closed off. In minutes.
- IdleMaxAge = 10
- # Number of release-connection helper threads to create per partition.
- ReleaseHelperThreads = 5
- # After attempting to acquire a connection and failing, wait for this value before attempting to acquire a new connection again.
- AcquireRetryDelay = 7000
- # After attempting to acquire a connection and failing, try to connect these many times before giving up.
- AcquireRetryAttempts = 5
- # If set to true, the connection pool will remain empty until the first connection is obtained.
- LazyInit = False
- # If set to true, stores all activity on this connection to allow for replaying it again automatically if it fails. Makes the pool marginally slower.
- TransactionRecoveryEnabled = False
- # Queries taking longer than this limit to execute are logged.
- QueryExecuteTimeLimit = 0
- # Time to wait before a call to getConnection() times out and returns an error.
- ConnectionTimeout = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement