Closed helsonxiao closed 2 years ago
npm test
static get attempts() { return 0; }
Before: If job / listener return 0 in attempts, then it'll use global attempts which is 5 as a fallback. After: If job / listener return 0 in attempts, no retry anymore.
attempts
Good job!
Good night!
Checklist
npm test
passesAffected core subsystem(s)
Description of change
Before: If job / listener return 0 in
attempts
, then it'll use global attempts which is 5 as a fallback. After: If job / listener return 0 inattempts
, no retry anymore.