Increase AI chat expiration time to 30 days#1698
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
There was a problem hiding this comment.
Pull request overview
This PR increases the expiration time for AI chat sessions from 24 hours to 30 days by updating the default value of the LLM_CHAT_EXPIRE_TIME_SECONDS system property.
- Updated
LLM_CHAT_EXPIRE_TIME_SECONDSdefault value from 86400 seconds (24 hours) to 2592000 seconds (30 days)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Greptile OverviewGreptile SummaryIncreased AI chat session expiration time from 24 hours to 30 days by updating the
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant AIChatService
participant System
participant Cache
User->>AIChatService: Create/Update Chat
AIChatService->>System: getNumberOrThrow(LLM_CHAT_EXPIRE_TIME_SECONDS)
System-->>AIChatService: Returns 2592000 (30 days)
AIChatService->>Cache: setSerializedObject(key, data, 2592000)
Cache-->>AIChatService: Chat data stored with 30-day TTL
AIChatService-->>User: Chat session active
Note over Cache: Data expires after 30 days<br/>(previously 24 hours)
|



Fixes OPS-3159.