mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:09:19 +08:00
feat: 优化拼多多同步,提高并发能力
This commit is contained in:
@@ -54,7 +54,8 @@ spring:
|
||||
listener:
|
||||
simple:
|
||||
acknowledge-mode: auto
|
||||
prefetch: 10
|
||||
# 与全量/增量 listener concurrency 同量级,避免长任务预取过多
|
||||
prefetch: 4
|
||||
default-requeue-rejected: false
|
||||
|
||||
# 订单统计读模型(汇总表已删,待重构前关闭写入与 miss 补算)
|
||||
|
||||
@@ -53,3 +53,8 @@ pdd:
|
||||
incremental-job-enabled: true
|
||||
incremental-cron: "0 */5 * * * ?"
|
||||
full-task-enabled: true
|
||||
# 同店全量按天并行上限(受单店 POP 限流约束)
|
||||
max-parallel-days-per-shop: 2
|
||||
# Rabbit 消费者并发(多店并行)
|
||||
full-listener-concurrency: "2-4"
|
||||
inc-listener-concurrency: "2-4"
|
||||
|
||||
Reference in New Issue
Block a user