Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. storage-method: MySQL
  2.  
  3. # The following block defines the settings for remote database storage methods.
  4. #
  5. # - You don't need to touch any of the settings here if you're using a local storage method!
  6. # - The connection detail options are shared between all remote storage types.
  7. data:
  8.  
  9. # Define the address and port for the database.
  10. # - The standard DB engine port is used by default
  11. # (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
  12. # - Specify as "host:port" if differs
  13. address: (redacted)
  14.  
  15. # The name of the database to store LuckPerms data in.
  16. # - This must be created already. Don't worry about this setting if you're using MongoDB.
  17. database: (redacted)
  18.  
  19. # Credentials for the database.
  20. username: (redacted)
  21. password: 'redacted'
  22.  
  23. # These settings apply to the MySQL connection pool.
  24. # - The default values will be suitable for the majority of users.
  25. # - Do not change these settings unless you know what you're doing!
  26. pool-settings:
  27.  
  28. # Sets the maximum size of the MySQL connection pool.
  29. # - Basically this value will determine the maximum number of actual
  30. # connections to the database backend.
  31. # - More information about determining the size of connection pools can be found here:
  32. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  33. maximum-pool-size: 10
  34.  
  35. # Sets the minimum number of idle connections that the pool will try to maintain.
  36. # - For maximum performance and responsiveness to spike demands, it is recommended to not set
  37. # this value and instead allow the pool to act as a fixed size connection pool.
  38. # (set this value to the same as 'maximum-pool-size')
  39. minimum-idle: 10
  40.  
  41. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  42. # - The value should be at least 30 seconds less than any database or infrastructure imposed
  43. # connection time limit.
  44. maximum-lifetime: 1800000 # 30 minutes
  45.  
  46. # This setting controls the maximum number of milliseconds that the plugin will wait for a
  47. # connection from the pool, before timing out.
  48. connection-timeout: 5000 # 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement