increase the buffered amount size for killing connections

This commit is contained in:
Nour Alharithi
2024-02-21 08:33:28 -08:00
parent 84ceed0281
commit 85fc02696d

View File

@@ -293,7 +293,7 @@ async function main() {
set = new Set([...set, ...wsSet]);
}
for (const ws of set) {
if (ws.bufferedAmount > 100) {
if (ws.bufferedAmount > 350000) {
ws.close();
}
}