Make session idle timeout configurable via SESSION_LIFETIME env#335
Make session idle timeout configurable via SESSION_LIFETIME env#335level09 wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
apodacaduron
left a comment
There was a problem hiding this comment.
Simple change works as intended
Summary
PERMANENT_SESSION_LIFETIMEis currently hardcoded to 3600s. This makes it configurable via theSESSION_LIFETIMEenvironment variable, defaulting to 3600 (no behavior change for existing installs).Test plan
SESSION_LIFETIME→ sessions expire after 3600s of inactivity (unchanged default).SESSION_LIFETIME=300in.env→ sessions expire after 5 min of inactivity.