MCPcopy Create free account
hub / github.com/taskforcesh/bullmq / addStandardJob

Method addStandardJob

php/src/Scripts.php:243–250  ·  view source on GitHub ↗

* Add a standard job to the queue. * * @param Job $job * @param int $timestamp * @return mixed */

(Job $job, int $timestamp)

Source from the content-addressed store, hash-verified

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.

Callers 1

addJobMethod · 0.95

Calls 3

getKeysMethod · 0.95
addJobArgsMethod · 0.95
execScriptMethod · 0.95

Tested by

no test coverage detected