We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcde312 commit 51ec5c9Copy full SHA for 51ec5c9
1 file changed
demo/queues/BeanstalkSampleQueue.php
@@ -19,7 +19,7 @@ public function __construct()
19
);
20
}
21
22
- public function addJob($newJob = null)
+ public function addJob($newJob = null, $DEFAULT_PRIORITY=1024, $DEFAULT_DELAY=0, $DEFAULT_TTR=60)
23
{
24
$formatted_data = array('worker'=>$this->queueWorker, 'data'=>$newJob);
25
$this->dataSource->add($formatted_data, $DEFAULT_PRIORITY, $DEFAULT_DELAY, $DEFAULT_TTR);
0 commit comments