GO-QUEUE@v1.1.1: Priority-based task queue with automatic timeout promotion
Published: (January 1, 2026 at 01:15 AM EST)
1 min read
Source: Dev.to
Source: Dev.to
REFACTOR
- Changed
PresetConfig.PriorityfromstringtoPrioritytype. - Changed
WithRetryparameter from*intto variadic...int, supporting invocation without arguments.
UPDATE
- Improved
timeoutcalculation logic, now directly usestime.Durationoperations. - Updated priority upgrade logic to use new priority constants instead of strings.
PERF
- Added
taskHeapcapacity reduction mechanism: when usage drops below 1/4 of capacity, it automatically shrinks to half (minimum retained is 16).
REMOVE
- Removed
getPresetPriorityfunction. - Set
old[n-1] = nilinPop()to avoid memory leaks.
©️ 2025 邱敬幃 Pardn Chiu