You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I set the session timeouts in the Upstash node to be 120 and I also send "sessionTTL": 120 as overrideConfig while sending request. However, in Upstash console the TTL of the key is not changed and is still Forever
To Reproduce
Steps to reproduce the behavior:
Create Upstash Redis-Backed Chat Memory node
Click on 'Additional Parameters' and input value for the Session Timeouts
Connect Upstash node to conversation chain
Send API request and add "sessionTTL": 120 as overrideConfig
Open Upstash console, find the key and the TTL is still forever
Wait for 120 seconds and the key is still not deleted
Expected behavior
The TTL of the key should be the same as the Session Timeouts set in the Upstash node. The key automatically delete itself after the timeout.
Additional context
I am trying to set the TTL because I find out that if an user saved too many memory, it makes the request exceed the maximum token value of the AI model. So I wanna ask is setting TTL for the keys the best way to solve this problem?
The text was updated successfully, but these errors were encountered:
Describe the bug
I set the session timeouts in the Upstash node to be 120 and I also send "sessionTTL": 120 as overrideConfig while sending request. However, in Upstash console the TTL of the key is not changed and is still Forever
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The TTL of the key should be the same as the Session Timeouts set in the Upstash node. The key automatically delete itself after the timeout.
Screenshots
Flow
Test Chatflow.json
Additional context
I am trying to set the TTL because I find out that if an user saved too many memory, it makes the request exceed the maximum token value of the AI model. So I wanna ask is setting TTL for the keys the best way to solve this problem?
The text was updated successfully, but these errors were encountered: