Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- storage-method: MySQL
- # The following block defines the settings for remote database storage methods.
- #
- # - You don't need to touch any of the settings here if you're using a local storage method!
- # - The connection detail options are shared between all remote storage types.
- data:
- # Define the address and port for the database.
- # - The standard DB engine port is used by default
- # (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
- # - Specify as "host:port" if differs
- address: (redacted)
- # The name of the database to store LuckPerms data in.
- # - This must be created already. Don't worry about this setting if you're using MongoDB.
- database: (redacted)
- # Credentials for the database.
- username: (redacted)
- password: 'redacted'
- # These settings apply to the MySQL connection pool.
- # - The default values will be suitable for the majority of users.
- # - Do not change these settings unless you know what you're doing!
- pool-settings:
- # Sets the maximum size of the MySQL connection pool.
- # - Basically this value will determine the maximum number of actual
- # connections to the database backend.
- # - More information about determining the size of connection pools can be found here:
- # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
- maximum-pool-size: 10
- # Sets the minimum number of idle connections that the pool will try to maintain.
- # - For maximum performance and responsiveness to spike demands, it is recommended to not set
- # this value and instead allow the pool to act as a fixed size connection pool.
- # (set this value to the same as 'maximum-pool-size')
- minimum-idle: 10
- # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
- # - The value should be at least 30 seconds less than any database or infrastructure imposed
- # connection time limit.
- maximum-lifetime: 1800000 # 30 minutes
- # This setting controls the maximum number of milliseconds that the plugin will wait for a
- # connection from the pool, before timing out.
- connection-timeout: 5000 # 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement