From 7fa8795dca020a5d9da68d3ecc562ba9ac0bfed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=BF=E9=98=B3?= <997485446@qq.com> Date: Mon, 24 Feb 2025 14:57:24 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20conf/prod/dubbogo.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/prod/dubbogo.yaml | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/conf/prod/dubbogo.yaml b/conf/prod/dubbogo.yaml index 54d69e4..28b587b 100644 --- a/conf/prod/dubbogo.yaml +++ b/conf/prod/dubbogo.yaml @@ -25,44 +25,4 @@ dubbo: tps.limit.rejected.handler: DefaultValueHandler tps.limit.interval: 1000 # 间隔时间 tps.limit.rate: 300 # 间隔时间内次数 - warmup: 100 #预热时间 - logger: - zap-config: - level: info # 日志级别 - development: false - disableCaller: false - disableStacktrace: false - encoding: "json" - # zap encoder 配置 - encoderConfig: - messageKey: "message" - levelKey: "level" - timeKey: "time" - nameKey: "logger" - callerKey: "caller" - stacktraceKey: "stacktrace" - lineEnding: "" - levelEncoder: "capitalColor" - timeEncoder: "iso8601" - durationEncoder: "seconds" - callerEncoder: "short" - nameEncoder: "" - EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), - EncodeDuration: zapcore.SecondsDurationEncoder, - outputPaths: - - "stderr" - errorOutputPaths: - - "stderr" - lumberjack-config: - # 写日志的文件名称 - filename: "runtime/logs/bundle.log" - # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB - maxSize: 5 - # 日志保留的最大天数(只保留最近多少天的日志) - maxAge: 30 - # 只保留最近多少个日志文件,用于控制程序总日志的大小 - maxBackups: 30 - # 是否使用本地时间,默认使用 UTC 时间 - localTime: true - # 是否压缩日志文件,压缩方法 gzip - compress: false \ No newline at end of file + warmup: 100 #预热时间 \ No newline at end of file From 5819753d257dc6cbc0caefb19c017bcdf497eeb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=BF=E9=98=B3?= <997485446@qq.com> Date: Mon, 24 Feb 2025 14:58:53 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20conf/prod/config.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/prod/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/prod/config.yaml b/conf/prod/config.yaml index 2107b11..27a60ca 100644 --- a/conf/prod/config.yaml +++ b/conf/prod/config.yaml @@ -2,7 +2,7 @@ system: mode: prod #正式 prod #测试 test #开发 dev # config_source: configmap bundleDB: - host: hz001-szjixun.rwlb.rds.aliyuncs.com + host: svc-fontree-mysql-service port: 3306 user: fonchain_opv password: IhQmhg8HZjDmU=Ove5PnA^D