From 79409317f99d3ef06555adad0915a8ddff8eba0c Mon Sep 17 00:00:00 2001 From: caibotmini Date: Sun, 5 Apr 2026 09:39:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0config.yaml=20-=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=94=B9=E4=B8=BAPostgreSQL?= =?UTF-8?q?=E7=AB=AF=E5=8F=A35432=EF=BC=8C=E7=88=AC=E8=99=AB=E9=97=B4?= =?UTF-8?q?=E9=9A=94=E6=94=B9=E4=B8=BA15=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index eb0cadc..fe3c0f2 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,12 +1,13 @@ # CoolBotDataSys 配置文件 +# 更新于 2026-04-05 database: host: "127.0.0.1" - port: 3306 - user: "root" + port: 5432 + user: "coolbot" password: "Coolbot123" database: "coolbot_data" - charset: "utf8mb4" + pool_size: 10 redis: host: "127.0.0.1" @@ -24,7 +25,7 @@ crawlers: name: "一尘网" base_url: "https://www.yichens.com" enabled: true - interval_minutes: 60 + interval_minutes: 15 aicang: name: "爱藏网" base_url: "https://www.aicang.com" @@ -41,4 +42,4 @@ tasks: enabled: true cron: "0 9 * * *" crawl_interval: - cron: "*/30 * * * *" + cron: "*/15 * * * *"