Skip to content

refactor(redis): session handler logic readability refactor#2549

Open
joshtrichards wants to merge 1 commit intomasterfrom
jtr/refactor-redis-config
Open

refactor(redis): session handler logic readability refactor#2549
joshtrichards wants to merge 1 commit intomasterfrom
jtr/refactor-redis-config

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Mar 23, 2026

Streamline Redis session configuration code path for improved readability.

Changes:

  • reduce nesting
  • compute session.save_path once
  • drop echo/cut usage
  • simplify connection type pattern matching
  • improve authentication scenario determination
  • preserve existing behavior/logic

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards changed the title refactor(redis): reduce nesting/improve code clarity refactor(redis): helper readability refactor Mar 23, 2026
@joshtrichards joshtrichards added the feature: auto config (environment variables) Auto configuring via environment variables label Mar 23, 2026
@joshtrichards joshtrichards marked this pull request as ready for review March 23, 2026 01:47
@joshtrichards joshtrichards requested a review from J0WI March 23, 2026 01:47
@joshtrichards joshtrichards changed the title refactor(redis): helper readability refactor refactor(redis): session handler logic readability refactor Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review feature: auto config (environment variables) Auto configuring via environment variables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant