nodejs / nodejs/undici

Default fetch timeout too short

Open Beginner friendly
#1,373 20 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
JavaScript
Stars
7.7k
Forks
879
Avg merge
2d 16h
Merged PRs (30d)
68

Description

By default fetch times out after 30 seconds. This causes issues like https://github.com/nodejs/undici/issues/1248

Chrome has 300 second time out.

Please set default unidici fetch timeout to 300 seconds by default.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the fetch implementation and the configuration that sets its default timeout; review the surrounding discussion and any related tests. Change the default from 30 seconds to 300 seconds, and verify that the default fetch behavior and timeout coverage reflect the new value.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend, networking
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.