Skip to content
New issue

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

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

Already on GitHub? # to your account

perf(NODE-6127): move error construction into setTimeout callback #4094

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Apr 23, 2024

Description

What is changing?

  • Make TimeoutError construction lazy
Is there new documentation needed for these changes?

No

What is the motivation for this change?

Release Highlight

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@W-A-James W-A-James changed the title move error construction out of Timeout constructor fix(NODE-5825): move error construction out of Timeout constructor Apr 23, 2024
@W-A-James W-A-James changed the title fix(NODE-5825): move error construction out of Timeout constructor perf(NODE-5825): move error construction out of Timeout constructor Apr 23, 2024
@W-A-James W-A-James changed the title perf(NODE-5825): move error construction out of Timeout constructor perf(NODE-6127): move error construction out of Timeout constructor Apr 23, 2024
@W-A-James W-A-James marked this pull request as ready for review April 23, 2024 20:09
@nbbeeken nbbeeken self-assigned this Apr 23, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Apr 23, 2024
@nbbeeken nbbeeken changed the title perf(NODE-6127): move error construction out of Timeout constructor perf(NODE-6127): move error construction into setTimeout callback Apr 23, 2024
@nbbeeken nbbeeken merged commit 6abc074 into main Apr 23, 2024
19 of 26 checks passed
@nbbeeken nbbeeken deleted the fixTimeoutRegression branch April 23, 2024 22:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants