New Priority-based Queue With Automatic Timeout Promotion 2025
Configurable worker pool size (default: CPU cores × 2). Tasks beyond worker capacity queue up to avoid system overload while maximizing hardware utilization.
A five-level priority system implemented with a min-heap (Immediate > High > Retry > Normal > Low). Higher-priority tasks execute first; tasks with the same priority are processed FIFO. Tasks that wait for a long time are automatically promoted to a higher priority to prevent starvation. Promotion thresholds are calculated based on configured timeouts.
When a task fails, it can be automatically retried. Retry tasks are re-enqueued with Retry priority, which is between High and Normal, providing a delayed retry effect.
Templates let you quickly answer FAQs or store snippets for re-use.
Are you sure you want to ? It will become hidden in your post, but will still be visible via the comment's permalink.
, this person and/or