Expand description
Queue file size checking and warning generation.
Responsibilities:
- Check if queue file exceeds size or task count thresholds.
- Generate user-friendly warning messages with remediation suggestions.
Not handled here:
- Configuration loading (passed in by caller).
- Actual queue operations (archive/prune) - only suggestions.
Structs§
- Queue
Size Info - Information about the queue file size and task count.
- Size
Check Result - Result of checking queue size against thresholds.
Functions§
- check_
queue_ size - Check if queue exceeds configured thresholds.
- count_
threshold_ or_ default - Get the configured task count threshold, or the default.
- print_
size_ warning_ if_ needed - Print warning if thresholds exceeded (respects quiet flag).
- size_
threshold_ or_ default - Get the configured size threshold, or the default.