• v3.3.46 4bb18f7abc

    Administrator released this 2026-06-07 20:59:34 +02:00 | 8 commits to master since this release

    Second hotfix for the Start-button freeze with 2000+ queued jobs. Three changes that compound to remove the freeze entirely:

    1. Renderer no longer fires window.api.debugLog (an IPC roundtrip back to main) on every received upload-progress / upload-stats / upload-batch-done event. With 3000 initial queued events, that was 3000 sync-ish IPC invokes flooding main's debug-log handler queue and blocking the renderer event loop for ~30 seconds (visible as 'Not Responding' in the title bar).

    2. Upload-manager no longer emits the redundant initial 'queued' progress event per job. The renderer already holds each job in 'queued'/'preview' state from its own queueJobs array; the first event it actually needs from main is the 'getting-server' / 'uploading' transition for the jobs the semaphore lets through. With 3000 tasks this was 3000 main → renderer IPC sends back-to-back at startBatch.

    3. fileSize is now reused from the per-file cache populated in startBatch (line 315) instead of re-statting in every _runJob call. That removes a redundant fs.statSync per task on the startBatch hot path.

    Downloads