Repository navigation
Commit 37d99bb
fix(tunnel): 256KB upload cap, 10ms gap timeout, 8KB extend threshold
Reduces upload chunk size to prevent large video uploads from starving
heartbeat polls in shared batches. Adaptive accumulation:
- 50ms initial window, 10ms per-read gap timeout
- >= 8KB triggers extended 1s window (capped at 256KB)
- Smaller chunks clear batches faster, heartbeats get through
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f02f24c commit 37d99bb
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
1538 | | - | |
| 1538 | + | |
1539 | 1539 | | |
1540 | | - | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
1541 | 1544 | | |
1542 | 1545 | | |
1543 | 1546 | | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
1547 | 1550 | | |
1548 | | - | |
| 1551 | + | |
1549 | 1552 | | |
1550 | 1553 | | |
1551 | 1554 | | |
| |||
0 commit comments