Skip to content

Commit 600d0a5

Browse files
authored
fix: drain timeout is 30s no 301s (#3041)
Signed-off-by: Sacha Froment <[email protected]>
1 parent a6c9aee commit 600d0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/transport-webrtc/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const OPEN_TIMEOUT = 5_000
9999
* When closing a stream, we wait for `bufferedAmount` to become 0 before
100100
* closing the underlying RTCDataChannel - this controls how long we wait in ms
101101
*/
102-
export const DATA_CHANNEL_DRAIN_TIMEOUT = 30_1000
102+
export const DATA_CHANNEL_DRAIN_TIMEOUT = 30_000
103103

104104
/**
105105
* Set as the 'negotiated' muxer protocol name

0 commit comments

Comments
 (0)