* Specify which jobs to keep after finishing processing this job. * If both age and count are specified, then the jobs kept will be the ones that satisfies both properties.
| 531 | * If both age and count are specified, then the jobs kept will be the ones that satisfies both properties. |
| 532 | */ |
| 533 | interface KeepJobsOptions { |
| 534 | /** |
| 535 | * Maximum age in *seconds* for job to be kept. |
| 536 | */ |
| 537 | age?: number | undefined; |
| 538 | |
| 539 | /** |
| 540 | * Maximum count of jobs to be kept. |
| 541 | */ |
| 542 | count?: number | undefined; |
| 543 | } |
| 544 | |
| 545 | interface JobCounts { |
| 546 | active: number; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…