mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +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 => {
|
||||
// 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;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user