Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894661
PhabricatorWorkerYieldException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
464 B
Referenced Files
None
Subscribers
None
PhabricatorWorkerYieldException.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment