Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Performance enhancements #4

Merged
merged 8 commits into from
May 21, 2024
Merged

Conversation

pallakartheekreddy
Copy link
Collaborator

@pallakartheekreddy pallakartheekreddy commented May 21, 2024

As part of this PR, we have made the following changes:

  1. Added caching for the compiled OpenAPI middleware object for each schema.
  2. Implemented caching for the schema file, ensuring it is loaded from disk only once.
  3. Removed the await in the makeBecknRequest function within becknRequester.utils.ts, converting the code to asynchronous. Previously, it was waiting for a response, causing a delay of approximately 3 seconds in the overall response time.

@maheshkumargangula maheshkumargangula merged commit bcaf13a into master May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants