* Add a standard job to the queue. * * @param Job $job * @param int $timestamp * @return mixed */
(Job $job, int $timestamp)
| 241 | * @return mixed |
| 242 | */ |
| 243 | public function addStandardJob(Job $job, int $timestamp): mixed |
| 244 | { |
| 245 | $keys = $this->getKeys(['wait', 'paused', 'meta', 'id', 'completed', 'delayed', 'active', 'events', 'marker']); |
| 246 | $args = $this->addJobArgs($job); |
| 247 | $args[] = $timestamp; |
| 248 | |
| 249 | return $this->execScript('addStandardJob-9.lua', $keys, $args); |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Add a delayed job to the queue. |
no test coverage detected