Commit 377add3
refactor(tunnel): revert to single-loop with pipelining
The split upload/download task architecture caused video upload stalls:
upload ack responses were delayed behind slow poll responses in the
pending_writes ordering buffer. The single-loop naturally serializes
uploads with reply processing, giving steady ack delivery.
Single-loop keeps all pipelining benefits (elevated polls, adaptive
depth, fast-path uploads) while avoiding the ordering issue.
Removed dead upload_cap config field.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent dc0c0db commit 377add3
2 files changed
Lines changed: 181 additions & 308 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 212 | | |
220 | 213 | | |
221 | 214 | | |
| |||
512 | 505 | | |
513 | 506 | | |
514 | 507 | | |
515 | | - | |
516 | 508 | | |
517 | 509 | | |
518 | 510 | | |
| |||
0 commit comments