1.0.11 min read
Queue System
Review scan, enqueue, process, retry, state, batch size, and failure handling in the queue.
The queue system lets large libraries process in controlled batches.
Queue responsibilities
- Scan Media Library attachments.
- Add eligible jobs.
- Mark unsupported items as skipped.
- Process batches through AJAX.
- Pause and resume queue state.
- Retry failed jobs up to the configured maximum.
Storage
The queue uses a database table named with the WordPress table prefix and vacimg_queue. Queue state is stored in the vacimg_queue_state option.
Limits
VACIMG_QUEUE_BATCH_SIZE defaults to 10. VACIMG_MAX_RETRIES defaults to 3. Keep these conservative on shared hosting.