<?php

declare(strict_types=1);

namespace Drupal\ffmpeg_media\Plugin\QueueWorker;

use Drupal\Core\Queue\Attribute\QueueWorker;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Queue worker for large video file conversion.
 *
 * This queue runs with a longer time limit and lower priority
 * than the standard queue to handle large files without blocking.
 * Processes files larger than the configured large_file_threshold.
 */
#[QueueWorker(
  id: 'ffmpeg_media_conversion_large',
  title: new TranslatableMarkup('FFmpeg Media Conversion (Large Files)'),
  cron: ['time' => 3600],
)]
final class VideoConversionLargeQueueWorker extends VideoConversionQueueWorker {

  // Inherits all functionality from parent.
  // Cron time allocation: 3600 seconds (1 hour) vs 60 seconds for standard.
  // Lower priority: large files are processed with extended timeouts.
}
