* Remove a job. * * @param string $jobId * @param bool $removeChildren * @return mixed */
(string $jobId, bool $removeChildren = true)
| 497 | * @return mixed |
| 498 | */ |
| 499 | public function remove(string $jobId, bool $removeChildren = true): mixed |
| 500 | { |
| 501 | $keys = [ |
| 502 | $this->toKey($jobId), |
| 503 | $this->keys['repeat'], |
| 504 | ]; |
| 505 | $args = [$jobId, $removeChildren ? 1 : 0, $this->keys['']]; |
| 506 | |
| 507 | return $this->execScript('removeJob-2.lua', $keys, $args); |
| 508 | } |
| 509 | |
| 510 | /** |
| 511 | * Check if queue is maxed (rate limited). |
nothing calls this directly
no test coverage detected