Lower timeout of upload stash -> image scaler requests
This should let us establish if something higher in the chain of requests is timing out too early compared to this internal request. The default of 25 seconds seems unreasonable anyway for a regular web request. Bug: T90599 Change-Id: I06dbf25cd2b1a664ff18682ecbbd73719113d36d
This commit is contained in:
parent
9afcb77e6f
commit
d9e7a8c4ce
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ class SpecialUploadStash extends UnlistedSpecialPage {
|
|||
// make a curl call to the scaler to create a thumbnail
|
||||
$httpOptions = array(
|
||||
'method' => 'GET',
|
||||
'timeout' => 'default'
|
||||
'timeout' => 5 // T90599 attempt to time out cleanly
|
||||
);
|
||||
$req = MWHttpRequest::factory( $scalerThumbUrl, $httpOptions, __METHOD__ );
|
||||
$status = $req->execute();
|
||||
|
|
|
|||
Loading…
Reference in a new issue