Skip to content

Add keepAlive to fetch #27109

Closed
Closed
@styfle

Description

@styfle

Describe the feature you'd like to request

The current fetch polyfill closes the connection after each request but we would like to keep it open.

Describe the solution you'd like

We could utilize a keep-alive connection by assigning in a default Agent and achieve similar performance to undici-fetch.

Describe alternatives you've considered

Swap node-fetch for undici-fetch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions