github hankscafe/omnibus v1.0.9-beta.021
Omnibus v1.0.9-beta.021

one month ago

v1.0.9-beta.021 - fix(queue): prevent metadata sync amplification loop in watched folder scan

Fixed a critical bug in src/lib/queue.ts where the WATCHED_FOLDER_SYNC job was erroneously triggering a new METADATA_SYNC job inside the individual file processing loop.

Previously, dropping multiple files into the watched folder would queue a separate metadata sync for every single file. This resulted in an exponential amplification loop that rapidly exhausted ComicVine/Metron API rate limits, triggering 429 errors, Discord notification spam, and endless BullMQ task retries.

The metadata sync trigger has been safely moved outside the loop so that it now only fires exactly once per successful folder scan.

Don't miss a new omnibus release

NewReleases is sending notifications on new releases.