change node vless bunled

This commit is contained in:
zizifn
2023-04-23 01:12:25 +08:00
committed by zizifn
parent fe279a7aa1
commit 16ac187f3a
3 changed files with 3 additions and 3 deletions

View File

@@ -6268,7 +6268,7 @@ function socketAsyncWrite(ws, chunk) {
function wsAsyncWrite(ws, chunk) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// 20m not transmitted to the network
while (ws.bufferedAmount > 1024 * 20) {
while (ws.bufferedAmount > 1024 * 1024 * 20) {
yield (0, vless_js_1.delay)(10);
}
return new Promise((resolve, reject) => {

File diff suppressed because one or more lines are too long