A retry loop is an availability problem before it is a queue-setting problem: it can spend all worker slots on work that cannot succeed and raise the age of healthy messages. Short answer: give each logical background job one finite attempt budget, classify permanent failures before another deli...
Source: [Dev.to](https://dev.to/brennthorn8571/nodejs-worker-troubleshooting-background-queue-retry-exhaustion-504f)