X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUploadStash.php;h=4d0c20c76a2296745b96900f0075f0690c07c55d;hb=1e1c24d12c94a90442de5af89df393d1042a246a;hp=abd3e07815db163718fcd296322d2ef37f46bb88;hpb=91a693919e2e704114f2e69e3282577e4c47bb15;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index abd3e07815..4d0c20c76a 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -261,7 +261,8 @@ class SpecialUploadStash extends UnlistedSpecialPage { $scalerThumbUrl = $scalerBaseUrl . '/' . $file->getUrlRel() . '/' . rawurlencode( $scalerThumbName ); - // make a curl call to the scaler to create a thumbnail + // make an http request based on wgUploadStashScalerBaseUrl to lazy-create + // a thumbnail $httpOptions = [ 'method' => 'GET', 'timeout' => 5 // T90599 attempt to time out cleanly