mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 19:09:19 +08:00
feat: 完善任务队列真正用上redis stream
This commit is contained in:
@@ -48,6 +48,24 @@ order-stat:
|
||||
ttl-today-seconds: 900
|
||||
nightly-rebuild-cron: "0 30 2 * * ?"
|
||||
|
||||
# 导入任务 Redis Stream 队列(DB 为真相源,Redis 负责调度)
|
||||
import-task:
|
||||
queue:
|
||||
enabled: true
|
||||
stream-prefix: import:task:stream
|
||||
consumer-group: import-task-group
|
||||
block-timeout-ms: 5000
|
||||
claim-idle-ms: 300000
|
||||
reconcile-interval-ms: 60000
|
||||
stuck-processing-ms: 300000
|
||||
reconcile-lock-seconds: 55
|
||||
worker:
|
||||
pool-size-per-type: 1
|
||||
type-enabled:
|
||||
order: true
|
||||
product: false
|
||||
promotion_record: true
|
||||
|
||||
# JWT 令牌有效期(密钥见各环境配置)
|
||||
jwt:
|
||||
access-token-expiration: 900
|
||||
|
||||
Reference in New Issue
Block a user