Skip to content

Commit 488c8af

Browse files
fix(tunnel-node): revert LONGPOLL_DEADLINE to 2s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 57dc546 commit 488c8af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tunnel-node/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const STRAGGLER_SETTLE_MAX: Duration = Duration::from_millis(1000);
7171
/// `BATCH_TIMEOUT` (30 s) and Apps Script's UrlFetch ceiling (~60 s).
7272
/// Tested on censored networks in Iran where users reported smoother
7373
/// Telegram video playback and fewer session resets at this value.
74-
const LONGPOLL_DEADLINE: Duration = Duration::from_secs(4);
74+
const LONGPOLL_DEADLINE: Duration = Duration::from_secs(2);
7575

7676
/// Bound on each UDP session's inbound queue. Beyond this we drop oldest
7777
/// to keep recent voice/media packets moving — a stale RTP frame is

0 commit comments

Comments
 (0)