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

[Feature]: Disable cleanup task and session tracking optionally

Aperta
#2,219 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
15.9k
Fork
1.4k
Merge medio
1g 17h
PR unite (30g)
163

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.