exiftool-vendored
Version:
Efficient, cross-platform access to ExifTool
21 lines (20 loc) • 959 B
TypeScript
/**
* Regression tests for https://github.com/photostructure/exiftool-vendored.js/issues/312
*
* Issue: "BatchCluster has ended, cannot enqueue" errors when processing large
* videos with the `-ee` flag under high concurrency.
*
* Root cause (batch-cluster <= 15.x):
* - Task timeouts were incorrectly counted as "startup failures"
* - When too many "failures" occurred within a minute, the cluster would
* fatally shut down via `maxReasonableProcessFailuresPerMinute`
* - Subsequent enqueue attempts would fail with "BatchCluster has ended"
*
* The fix in batch-cluster 16.x:
* 1. Startup task failures are now correctly identified by taskId, not taskCount
* 2. The `maxReasonableProcessFailuresPerMinute` option was removed entirely
* 3. The `fatalError` event was removed - clusters never auto-shutdown
* 4. Default `taskTimeoutMillis` changed to 0 (disabled) to prevent
* legitimate long-running tasks from timing out
*/
export {};