Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function release(int $delay = 0)
 {
     parent::release($delay);
     $priority = Pheanstalk::DEFAULT_PRIORITY;
     $this->pheanstalk->release($this->job, $priority, $delay);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function release(int $delay = 0)
 {
     parent::release($delay);
     $this->sqs->changeMessageVisibility(['QueueUrl' => $this->queue, 'ReceiptHandle' => $this->job['ReceiptHandle'], 'VisibilityTimeout' => $delay]);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function release(int $delay = 0)
 {
     parent::release($delay);
     $this->redis->deleteAndRelease($this->queue, $this->reserved, $delay);
 }
Ejemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function delete()
 {
     parent::delete();
     $this->channel->basic_ack($this->message->delivery_info['delivery_tag']);
 }