---
id: task-42
title: 'Convert Tasks::EnqueueDuePostFileJobsTask to InterruptableTask'
status: To Do
assignee: []
created_date: '2025-07-08'
labels: []
dependencies: []
---

## Description

Convert EnqueueDuePostFileJobsTask from using EnqueueJobBase to directly inheriting from InterruptableTask, implementing queue throttling logic and enqueuing pattern directly for better control and consistency.

## Acceptance Criteria

- [ ] Task inherits from InterruptableTask instead of EnqueueJobBase
- [ ] Implements queue throttling logic (high water mark low water mark)
- [ ] Implements enqueue method with proper throttling
- [ ] Maintains same functionality for start_enqueuing method
- [ ] Maintains same functionality for queue_size method
- [ ] Maintains same functionality for progress_key method
- [ ] Includes proper interrupt handling in main loop
- [ ] Task works correctly with same behavior as before
- [ ] Tests pass and verify new implementation
- [ ] TODO comment is removed from file
