Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4116043
EmergencyTimeoutException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
474 B
Referenced Files
None
Subscribers
None
EmergencyTimeoutException.php
View Options
<?php
namespace
Wikimedia\RequestTimeout
;
/**
* An exception which is thrown if a critical section is open for too long.
*/
class
EmergencyTimeoutException
extends
TimeoutException
{
/**
* @param string $name The name of the critical section
* @param float $limit The limit (in seconds) which has expired
*/
public
function
__construct
(
$name
,
$limit
)
{
parent
::
__construct
(
"The critical section
\"
$name
\"
timed out after {limit} seconds"
,
$limit
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 01:11 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ca/90/c3768c834c06249ecb8014f84307
Default Alt Text
EmergencyTimeoutException.php (474 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment