将@关系批处理业务迁移到 value_rank 插件
- 从 MessageStorageDB 移除@抽取与社交图写入逻辑,消息层仅保留归档职责 - 从系统级任务移除 process_pending_mentions,取消 message_to_db 中对应入口 - 在 value_rank 插件新增定时动作 value_rank_mentions_extract(每10分钟) - 在插件内实现窗口化批处理(默认10~20分钟前)、@提取、幂等写入明细/边表/日汇总及 unique_interactors 回填 - 新增插件侧可配置参数 mention_batch_size / mention_window_start_minutes / mention_window_end_minutes
This commit is contained in:
@@ -28,3 +28,8 @@ base_score_scale = 1000
|
||||
# 排行默认展示数量
|
||||
default_rank_limit = 10
|
||||
max_rank_limit = 50
|
||||
|
||||
# @关系批处理(插件定时任务)参数
|
||||
mention_batch_size = 200
|
||||
mention_window_start_minutes = 20
|
||||
mention_window_end_minutes = 10
|
||||
|
||||
Reference in New Issue
Block a user