Skip to content

Conversation

@m7kvqbe1
Copy link

@m7kvqbe1 m7kvqbe1 commented Oct 2, 2025

No description provided.

m7kvqbe1 and others added 8 commits June 6, 2025 12:46
This feature addresses the issue of uploads hanging indefinitely in
unreliable network conditions, particularly in Node.js environments
where no default timeout exists.

When uploads stall due to network issues, TCP connections can enter a
degraded state where no data is transferred but no error is triggered.
This implementation detects such stalls and forces a retry.

Implementation details:
- Progress-based: Detects when no upload progress events are fired
- Gracefully integrates with the existing retry mechanism
- Fully configurable with sensible defaults:
  - 30s stall timeout (time with no progress before considering stalled)
  - 5s check interval (how often to check for stalls)

This is especially important for uploads over satellite links, cellular
networks, or other unreliable connections where TCP backoff can cause
indefinite stalls.
Also refactors the test-stall-detection test suite.
@m7kvqbe1 m7kvqbe1 closed this Oct 2, 2025
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.

1 participant