increase the buffered amount size for killing connections
This commit is contained in:
@@ -293,7 +293,7 @@ async function main() {
|
|||||||
set = new Set([...set, ...wsSet]);
|
set = new Set([...set, ...wsSet]);
|
||||||
}
|
}
|
||||||
for (const ws of set) {
|
for (const ws of set) {
|
||||||
if (ws.bufferedAmount > 100) {
|
if (ws.bufferedAmount > 350000) {
|
||||||
ws.close();
|
ws.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user