Skip to content

Caching#43

Merged
rakeshSgr merged 5 commits intodevfrom
caching
Jul 21, 2022
Merged

Caching#43
rakeshSgr merged 5 commits intodevfrom
caching

Conversation

@ankit1shahu
Copy link
Collaborator

Added Caching Library

@ankit1shahu ankit1shahu changed the base branch from master to dev July 19, 2022 07:03
versions = formVersionData
} else {
versions = await FormsData.findAllTypeFormVersion()
await InternalCache.setKey('formVersion', versions, process.env.INTERNAL_CACHE_EXP_TIME)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ankitpws we should be able to set the expiry time while requiring the package.
And move InternalCache and Redis to utils, you can write multiple functions to do the job.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
1.0% 1.0% Duplication

@rakeshSgr rakeshSgr merged commit 69b82c0 into dev Jul 21, 2022
tech-infra pushed a commit that referenced this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants