Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made a in memory cache module and added it to /tasks endpoint #713

Merged
merged 4 commits into from
Sep 25, 2022
Merged

Conversation

yesyash
Copy link
Contributor

@yesyash yesyash commented Sep 20, 2022

Issue Ticket #729

Description

  • Created a cache module to get and store API responses from the cache pool for a controller.
  • Cached responses from /tasks endpoint using the cache module.

Working

cache module flow - pr 1

utils/cache.js Outdated Show resolved Hide resolved
utils/cache.js Outdated Show resolved Hide resolved
utils/cache.js Outdated Show resolved Hide resolved
utils/cache.js Outdated Show resolved Hide resolved
Copy link

@rupal-2505 rupal-2505 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Maheima Maheima left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ivinayakg ivinayakg left a comment

Choose a reason for hiding this comment

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

the code looks fantastic, there are pieces that I am not 100% sure I will read about that will come back.
I know you already know this but just a reminder, add tests before merging 😊

@yesyash
Copy link
Contributor Author

yesyash commented Sep 24, 2022

the code looks fantastic, there are pieces that I am not 100% sure I will read about that will come back. I know you already know this but just a reminder, add tests before merging 😊

Working on writing tests will be out soon. Thank you for mentioning it.

utils/cache.js Show resolved Hide resolved
utils/cache.js Show resolved Hide resolved
utils/cache.js Show resolved Hide resolved
utils/cache.js Show resolved Hide resolved
@ankushdharkar ankushdharkar merged commit 74cb191 into Real-Dev-Squad:develop Sep 25, 2022
@yesyash yesyash mentioned this pull request Oct 4, 2022
3 tasks
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.

None yet

7 participants