Page MenuHomePhorge

PhabricatorWorkerYieldException.php
No OneTemporary

PhabricatorWorkerYieldException.php

<?php
/**
* Allows tasks to yield to other tasks.
*
* If a worker throws this exception while processing a task, the task will be
* pushed toward the back of the queue and tried again later.
*/
final class PhabricatorWorkerYieldException extends Exception {
private $duration;
public function __construct($duration) {
$this->duration = $duration;
parent::__construct();
}
public function getDuration() {
return $this->duration;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 20:14 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128349
Default Alt Text
PhabricatorWorkerYieldException.php (464 B)

Event Timeline