79107635

Date: 2024-10-20 17:25:22
Score: 2.5
Natty:
Report link

That's what the retry method is for, no?

(method) Job<any, any, string>.retry(state?: FinishedStatus): Promise

Attempts to retry the job. Only a job that has failed or completed can be retried.

@param state — completed / failed

@returns If resolved and return code is 1, then the queue emits a waiting event otherwise the operation was not a success and throw the corresponding error. If the promise rejects, it indicates that the script failed to execute

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @param
  • User mentioned (0): @returns
  • Low reputation (0.5):
Posted by: AndreLung