From 145c563f543112c1f1765c92add5afc66fc1bb8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 19 Aug 2025 19:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=87=AA=E5=8A=A8=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E8=AE=A2=E5=8D=95=E4=BB=BB=E5=8A=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 677f0d1..a614ed4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -151,16 +151,14 @@ shop: batch-size: 100 # 定时任务执行时间(cron表达式) # 生产环境:每5分钟执行一次 - # 开发环境:每1分钟执行一次(便于测试) - cron: "0 */1 * * * ?" - # 开发环境可以设置为: "0 */1 * * * ?" + cron: "0 */5 * * * ?" # 租户特殊配置 tenant-configs: - tenant-id: 10324 tenant-name: "百色中学" - timeout-minutes: 1 # 测试环境:1分钟超时,便于测试 - enabled: true # 使用注解方案,重新启用 + timeout-minutes: 60 # 捐款订单给更长的支付时间 + enabled: true # 可以添加更多租户配置 # - tenant-id: 10550 # tenant-name: "其他租户"