From 3c1d572998bae01bc6c9b508168ee691c210c7e0 Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Thu, 7 Dec 2023 19:29:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=95=B0=E6=8D=AE=E5=BA=93=E9=93=BE=E6=8E=A5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core-bukkit/src/main/resources/config.yml | 2 +- core-bungee/src/main/resources/config.yml | 2 +- core-common/src/main/resources/redission.yml | 36 -------------------- 3 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 core-common/src/main/resources/redission.yml diff --git a/core-bukkit/src/main/resources/config.yml b/core-bukkit/src/main/resources/config.yml index 81a7dda..605a9a0 100644 --- a/core-bukkit/src/main/resources/config.yml +++ b/core-bukkit/src/main/resources/config.yml @@ -6,7 +6,7 @@ datasource: # 数据库链接填写格式: # jdbc:mysql://{数据库地址}:{数据库端口}/{使用的库名}?参数 # 除非你知道自己在做什么,否则不建议随意更改参数 - url: "jdbc:mysql://localhost:3306/Test1?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true" + url: "jdbc:mysql://localhost:3306/Test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true" # 如果你不需要做多端跨服,那么请使用 sqlite 作本地数据库 # driver: "org.sqlite.JDBC" # url: "jdbc:sqlite:./plugins/HamsterCore/database.db" diff --git a/core-bungee/src/main/resources/config.yml b/core-bungee/src/main/resources/config.yml index ac13a64..14ce02e 100644 --- a/core-bungee/src/main/resources/config.yml +++ b/core-bungee/src/main/resources/config.yml @@ -5,7 +5,7 @@ datasource: # 数据库链接填写格式: # jdbc:mysql://{数据库地址}:{数据库端口}/{使用的库名}?参数 # 除非你知道自己在做什么,否则不建议随意更改参数 - url: "jdbc:mysql://localhost:3306/Test1?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true" + url: "jdbc:mysql://localhost:3306/Test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true" # 用户名 username: "root" # 密码 diff --git a/core-common/src/main/resources/redission.yml b/core-common/src/main/resources/redission.yml deleted file mode 100644 index 85afea5..0000000 --- a/core-common/src/main/resources/redission.yml +++ /dev/null @@ -1,36 +0,0 @@ -singleServerConfig: - address: "redis://localhost:6379" - password: "Reids123.." - username: "default" - database: 1 - clientName: "" - idleConnectionTimeout: 10000 - connectTimeout: 10000 - timeout: 3000 - retryAttempts: 3 - retryInterval: 1500 - subscriptionsPerConnection: 5 - sslEnableEndpointIdentification: true - sslProvider: "JDK" - pingConnectionInterval: 30000 - keepAlive: false - tcpNoDelay: true - subscriptionConnectionMinimumIdleSize: 1 - subscriptionConnectionPoolSize: 50 - connectionMinimumIdleSize: 1 - connectionPoolSize: 10 - dnsMonitoringInterval: 5000 -threads: 4 -nettyThreads: 8 -referenceEnabled: true -lockWatchdogTimeout: 30000 -checkLockSyncedSlaves: true -slavesSyncTimeout: 1000 -reliableTopicWatchdogTimeout: 600000 -keepPubSubOrder: true -useScriptCache: false -minCleanUpDelay: 5 -maxCleanUpDelay: 1800 -cleanUpKeysAmount: 100 -useThreadClassLoader: true -lazyInitialization: false