allow configuring monitor start queue size

dev
Moe 2025-10-22 20:32:27 +06:00
parent ab1cb0d602
commit 76c22bcb76
1 changed files with 1 additions and 1 deletions

View File

@ -1540,7 +1540,7 @@ module.exports = (s,config,lang) => {
const typeIsLocal = e.type === 'local'
const doPingTest = e.type !== 'socket' && e.type !== 'dashcam' && e.protocol !== 'udp' && e.type !== 'local' && e.details.skip_ping !== '1';
if(!theGroup.startMonitorInQueue){
theGroup.startMonitorInQueue = createQueueAwaited(0.5, 1)
theGroup.startMonitorInQueue = createQueueAwaited(0.5, config.monitorStartQueueSize || 1)
}
const startMonitorInQueue = theGroup.startMonitorInQueue
if(!activeMonitor.isStarted)return;