change node vless bunled

This commit is contained in:
zizifn
2023-04-23 01:39:39 +08:00
committed by zizifn
parent 09a7fb6225
commit 2cdf4ad6f8
3 changed files with 5 additions and 5 deletions

View File

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

File diff suppressed because one or more lines are too long