fix(distribution-manager): 使用全局配置中的超时设置增强消息处理
refactor(affinity-chatter): 移除不必要的全局配置导入
This commit is contained in:
@@ -222,7 +222,7 @@ class StreamLoopManager:
|
||||
logger.debug(f"更新流能量失败 {stream_id}: {e}")
|
||||
|
||||
# 4. 激活chatter处理
|
||||
success = await self._process_stream_messages(stream_id, context)
|
||||
success = await asyncio.wait_for(self._process_stream_messages(stream_id, context), global_config.chat.thinking_timeout)
|
||||
|
||||
# 更新统计
|
||||
self.stats["total_process_cycles"] += 1
|
||||
|
||||
Reference in New Issue
Block a user