重构数据引擎
This commit is contained in:
18
config.yml
18
config.yml
@@ -9,6 +9,15 @@ rate:
|
||||
limit: 200
|
||||
burst: 300
|
||||
|
||||
# 数据同步配置
|
||||
sync:
|
||||
page_size: 100 # 每次分页请求条数
|
||||
concurrency: 5 # 同步并发数
|
||||
retry_count: 3 # 最大重试次数
|
||||
sync_interval_minutes: 60 # 自动同步间隔(分钟)
|
||||
compensation_interval_seconds: 300 # 补偿调度器扫描间隔(秒)
|
||||
auto_sync_enabled: true # 是否启用自动同步
|
||||
|
||||
# Database.
|
||||
database:
|
||||
default:
|
||||
@@ -17,7 +26,7 @@ database:
|
||||
port: "5432"
|
||||
user: "postgres"
|
||||
pass: "root"
|
||||
name: "data-engine"
|
||||
name: "engine"
|
||||
role: "master"
|
||||
maxIdle: "5"
|
||||
maxOpen: "20"
|
||||
@@ -53,9 +62,12 @@ consul:
|
||||
jaeger: #链路追踪
|
||||
addr: 116.204.74.41:4318
|
||||
|
||||
# 平台认证信息(已迁移到 api_datasource_platform 表中管理)
|
||||
# 保留此处仅作参考,系统启动后从数据库读取
|
||||
tencent:
|
||||
oauth:
|
||||
client_id: "1112038234"
|
||||
client_secret: "GxyjXFbZAs5dnsNQ"
|
||||
refresh_token: "afd77374e4b0a305a1a5c1ce349f7105"
|
||||
access_token: "55c1371d16c65921b1448b91ce688a49"
|
||||
refresh_token: "d15b37363a42449026d337708516e95e"
|
||||
access_token: "4bacfc7c9b0a31f70ec0eb4771f8b542"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user