增加es归档 分布式和constants变量
This commit is contained in:
@@ -32,3 +32,11 @@ var ArchiveDelay = 3600
|
||||
|
||||
// HistoryContextLimit 读取历史对话轮数(用于新 Session 上下文注入)
|
||||
var HistoryContextLimit int64 = 5
|
||||
|
||||
// -------------------- Stream 消费配置 --------------------
|
||||
|
||||
// DefaultBatchSize 批量读取消息数量(削峰填谷)
|
||||
var DefaultBatchSize int64 = 200
|
||||
|
||||
// DefaultBlockTimeout 阻塞超时时间(毫秒)
|
||||
var DefaultBlockTimeout int64 = 2000
|
||||
|
||||
Reference in New Issue
Block a user