mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-31 01:09:18 +02:00
increase max packet size for data_plugins, some plugin keeps fucking it (tropo plugin i think)
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ pluginsWss.on('connection', (ws, request) => {
|
|||||||
|
|
||||||
ws.on('message', message => {
|
ws.on('message', message => {
|
||||||
// Anti-spam
|
// Anti-spam
|
||||||
const msg2 = helpers.antispamProtection(message, clientIp, ws, userCommands, lastWarn, userCommandHistory, '10', 'data_plugins');
|
const msg2 = helpers.antispamProtection(message, clientIp, ws, userCommands, lastWarn, userCommandHistory, '10', 'data_plugins', 1024 * 1024 * 2);
|
||||||
if(!msg2) return;
|
if(!msg2) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user