Bug: hasPendingWork() backoff mismatch with processQueue() #114
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Audit Finding
Severity: Medium
Issue:
hasPendingWork()uses simple linearretryDelayto check retry eligibility, butprocessQueue()uses exponential backoff (retryDelay * POW(2, retry_count)). This causes unnecessary queue processing invocations.Fix: Update retry-eligible check in
hasPendingWork()to use the same exponential backoff formula.Files:
QueueProcessor.phpBranch created:
feature/114-bug-haspendingwork-backoff-mismatch-with