9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-31 12:56:43 +00:00
Files
Custom-Fishing/src/main/resources/database.yml
2023-03-03 23:15:37 +08:00

57 lines
1.2 KiB
YAML

config-version: '1'
# YAML/MySQL/MariaDB
# 存储模式
data-storage-method: YAML
# Migrate from 1.2 to 1.3
# This option would automatically be set to false when migration finishes
migration: false
# MySQL settings
MySQL:
host: localhost
port: 3306
user: root
password: password
database: minecraft
table-prefix: customfishing
properties:
cachePrepStmts: 'true'
prepStmtCacheSize: '250'
prepStmtCacheSqlLimit: '2048'
useSSL: 'false'
verifyServerCertificate: 'false'
Pool-Settings:
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 180000
idle-timeout: 60000
MariaDB:
host: localhost
port: 3306
user: root
password: password
database: minecraft
table-prefix: customfishing
properties:
cachePrepStmts: 'true'
prepStmtCacheSize: '250'
prepStmtCacheSqlLimit: '2048'
Pool-Settings:
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 180000
idle-timeout: 60000
# Redis server
# Sync competition scores between servers without lag!
Redis:
host: localhost
#password: 123456
port: 6379
MaxTotal: 10
MaxIdle: 10
MinIdle: 1
MaxWaitMillis: 30000
MinEvictableIdleTimeMillis: 1800000