Advertisement
Guest User

Untitled

a guest
Jan 10th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. ####
  2. ### Настройки базы данных
  3. ## Соединение
  4. #хост
  5. URL=jdbc:mysql://localhost/ares_game?useUnicode=true&characterEncoding=UTF-8
  6. # логин
  7. Login = aresgame
  8. # пароль
  9. Password = kCMCMxNZ91jWsxX
  10. ## Тонкая настройка (!!только если на 100% уверены, что делаете!!)
  11. # Min no of connections the pool will (initially) create (per partition)
  12. MinConnectionsPerPartition = 10
  13. # Max no of connections the pool will ever create (per partition).
  14. MaxConnectionsPerPartition = 30
  15. # Sets number of partitions to use.
  16. PartitionCount = 5
  17. # Number of new connections to create in 1 batch whenever we need more connections.
  18. AcquireIncrement = 5
  19. # This sets the time (in minutes), for a connection to remain idle before sending a test query to the DB.
  20. IdleConnectionTestPeriod = 10
  21. # Maximum age of an unused connection before it is closed off. In minutes.
  22. IdleMaxAge = 10
  23. # Number of release-connection helper threads to create per partition.
  24. ReleaseHelperThreads = 5
  25. # After attempting to acquire a connection and failing, wait for this value before attempting to acquire a new connection again.
  26. AcquireRetryDelay = 7000
  27. # After attempting to acquire a connection and failing, try to connect these many times before giving up.
  28. AcquireRetryAttempts = 5
  29. # If set to true, the connection pool will remain empty until the first connection is obtained.
  30. LazyInit = False
  31. # 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.
  32. TransactionRecoveryEnabled = False
  33. # Queries taking longer than this limit to execute are logged.
  34. QueryExecuteTimeLimit = 0
  35. # Time to wait before a call to getConnection() times out and returns an error.
  36. ConnectionTimeout = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement