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

Remove waiting for the Promise result on /events route #1310

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

fmrsabino
Copy link
Collaborator

  • Removes the await for the event processing when the /hooks/events is triggered.
  • This is in line with the status code 202 Accepted which tells the clients that we accepted the event for processing but will process it asynchronously.

- Removes the `await` for the event processing when the `/hooks/events` is triggered.
- This is in line with the status code `202 Accepted` which tells the clients that we accepted the event for processing but will process it asynchronously.
@fmrsabino fmrsabino self-assigned this Mar 15, 2024
@fmrsabino fmrsabino requested a review from a team as a code owner March 15, 2024 14:31
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8297833142

Details

  • 5 of 6 (83.33%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 93.589%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/cache-hooks/cache-hooks.controller.ts 5 6 83.33%
Totals Coverage Status
Change from base Build 8297595572: -0.02%
Covered Lines: 6479
Relevant Lines: 6688

💛 - Coveralls

@fmrsabino fmrsabino merged commit f394da9 into main Mar 15, 2024
16 checks passed
@fmrsabino fmrsabino deleted the do-not-await-for-event-processing branch March 15, 2024 14:38
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

4 participants