-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
docs: add test examples with undici and fetch #4300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that you should keep keepAliveTimeout
and keepAliveTimeoutMax
set low (like 10
): https://undici.nodejs.org/#/docs/api/Client?id=parameter-clientoptions. Otherwise in Node.js v16 and v14 the test will keep running for long.
(verify this!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we must include the same example twice, the second example should have a preface describing why it is included.
@jsumners I added a description of the second example: |
Resolves #4296.
Checklist
npm run test
andnpm run benchmark
and the Code of conduct