mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 09:08:16 +08:00
change node vless bunled
This commit is contained in:
@@ -281,8 +281,8 @@ async function socketAsyncWrite(ws: Duplex, chunk: Buffer) {
|
||||
}
|
||||
|
||||
async function wsAsyncWrite(ws: WebSocket, chunk: Uint8Array) {
|
||||
// 1m not transmitted to the network
|
||||
while (ws.bufferedAmount > 1024 * 1024 * 10) {
|
||||
// 5m not transmitted to the network
|
||||
while (ws.bufferedAmount > 1024 * 1024 * 5) {
|
||||
await delay(1);
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user