Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O OS Core Common
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Lib
  • core
  • OS Core Common
  • Merge requests
  • !77

add overloaded constructors for RedisCache

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kelly Zhou requested to merge redis-enhance into master Apr 29, 2021
  • Overview 5
  • Commits 4
  • Pipelines 8
  • Changes 1

Here is the best practice for Azure Cache for Redis: Documentation

To follow the best practice "Configure your client library to use a connect timeout of at least 15 seconds", we would like to set the redisClient connection timeout as 15 seconds.

However, this is a common library which can be used for any provider, and the recommended value of connection timeout may be different. So we consider to have overloaded constructor where ClientOptions can be passed when initialize RedisCache.

Edited Apr 29, 2021 by Kelly Zhou
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: redis-enhance