fix: 更新config.yaml - 数据库改为PostgreSQL端口5432,爬虫间隔改为15分钟
This commit is contained in:
parent
c4e029a20a
commit
79409317f9
|
|
@ -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 * * * *"
|
||||
|
|
|
|||
Loading…
Reference in New Issue