* Tells the queue remove all jobs created outside of a grace period in milliseconds. * You can clean the jobs with the following states: completed, wait (typo for waiting), active, delayed, and failed. * @param grace Grace period in milliseconds. * @param status Status of the job to c
(
grace: number,
status?: JobStatusClean,
limit?: number
)
| 943 | * @param limit Maximum amount of jobs to clean per call. If not provided will clean all matching jobs. |
| 944 | */ |
| 945 | clean( |
| 946 | grace: number, |
| 947 | status?: JobStatusClean, |
| 948 | limit?: number |
no outgoing calls
no test coverage detected