Changeset 201ec06 in Klonkt for src/views/pages

Timestamp:
06/28/2026 05:15:48 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
a64d705
Parents:
99989f9
Message:

fix(images): cap concurrent ffmpeg (thumbnails) to avoid CPU saturation

A cold-cache image-heavy page fired one ffmpeg per thumbnail at once (a thundering herd),
saturating CPU and making the whole instance slow. Cap concurrent ffmpeg spawns to 3; excess
requests wait briefly for a slot. Applies to local + remote thumbnail generation.

  • services/ThumbnailService.js — acquireSlot/releaseSlot semaphore + runFfmpeg wrapper
(No files)

Note: See TracChangeset for help on using the changeset viewer.