-
Multi-Hoster-Upload v3.3.48 Stable
released this
2026-06-08 01:30:19 +02:00 | 4 commits to master since this releaseThird + most targeted fix for the Start-button freeze. Two changes:
-
startBatch was synchronous from rotLog('batch-start') through the entire 5365-task dedup loop AND the 5365 _runJob promise spawn loop before hitting the first 'await Promise.allSettled'. With no event-loop yield, the main process couldn't service the IPC reply to the renderer's await window.api.startUpload() — so the renderer sat 'Not Responding' for as long as it took main to plow through the whole synchronous prelude (30-60 seconds at this scale). Both loops now yield via 'await new Promise(setImmediate)' every 200 tasks (dedup) and every 100 tasks (spawn), letting the IPC reply, OS messages, and incoming progress events flow during the spawn.
-
rotLog was a synchronous fs.appendFileSync per call. Each rot-log event (~30-50 in the startup burst: batch-start + per-job upload-start + pre-resolved fallback + …) blocked the main thread 5-20ms. Now it pushes into the existing _rotLogBuffer and reuses the same async flush path that debugLog already uses — same on-disk format, same file targets, just unblocking.
Downloads
-