MCPcopy
hub / github.com/OptimalBits/bull / clean

Method clean

index.d.ts:945–945  ·  view source on GitHub ↗

* 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
    )

Source from the content-addressed store, hash-verified

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

Callers 5

queue.jsFile · 0.80
test_getters.jsFile · 0.80
test_queue.jsFile · 0.80
test_child-pool.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected