Skip to content

Conversation

@Richard87
Copy link
Contributor

@Richard87 Richard87 commented Sep 2, 2025

Description

Do not override username,password or idle timeout if they are blank (allows configuring the options via Redis URI)

Fixes #3182

Motivation and Context

In the platform we are using, we dont want to expose to many settings that could easily be overriden by changing the URI, mostly to keep the configuration easy.

When using Azure Cache for Redis the timeout is 10min, so it requires us to set max idle timeout to something less (e.g. 9min)

How Has This Been Tested?

Its being tested in Equinor Omnia Radix.

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.
  • I have written tests for my code changes.

@github-actions github-actions bot added the go label Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Do not override options provided via Redis URL if blank

1 participant