fix: 更新config.yaml - 数据库改为PostgreSQL端口5432,爬虫间隔改为15分钟

This commit is contained in:
caibotmini 2026-04-05 09:39:12 +08:00
parent c4e029a20a
commit 79409317f9
1 changed files with 6 additions and 5 deletions

View File

@ -1,12 +1,13 @@
# CoolBotDataSys 配置文件 # CoolBotDataSys 配置文件
# 更新于 2026-04-05
database: database:
host: "127.0.0.1" host: "127.0.0.1"
port: 3306 port: 5432
user: "root" user: "coolbot"
password: "Coolbot123" password: "Coolbot123"
database: "coolbot_data" database: "coolbot_data"
charset: "utf8mb4" pool_size: 10
redis: redis:
host: "127.0.0.1" host: "127.0.0.1"
@ -24,7 +25,7 @@ crawlers:
name: "一尘网" name: "一尘网"
base_url: "https://www.yichens.com" base_url: "https://www.yichens.com"
enabled: true enabled: true
interval_minutes: 60 interval_minutes: 15
aicang: aicang:
name: "爱藏网" name: "爱藏网"
base_url: "https://www.aicang.com" base_url: "https://www.aicang.com"
@ -41,4 +42,4 @@ tasks:
enabled: true enabled: true
cron: "0 9 * * *" cron: "0 9 * * *"
crawl_interval: crawl_interval:
cron: "*/30 * * * *" cron: "*/15 * * * *"