ag-ui-protocol / ag-ui-protocol/ag-ui

[Feature]: Disable cleanup task and session tracking optionally

未关闭
#2,219 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
15.9k
派生
1.4k
平均合并
1 天 17 小时
30 天内合并 PR
163

描述

### Pre-flight Checklist

- [x] I have searched existing issues and this hasn't been requested yet.

### Problem or Motivation

When the session service is backed by a persistent DB and you want to keep sessions there having a background task that constantly checks for sessions to delete and retrieve the sessions from the DB adds unnecesary stress and load to the DB when no delete is going to be performed.

### Proposed Solution

Add a flag to disable the whole session cleanup task and the minimal tracking, leaving just the same-request tracking

### Alternatives Considered

_No response_

### Additional Context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。