Per Filippo's comment below... It seems uploading large files (around the 4GB limit) via importImages.php is occasionally hitting the timeout causing the uploads to finish
Can we plumb in a larger request timeout (possibly via a separate $wg, or reusing $wgCopyUploadTimeout) for importImages.php type uploads like we already have for Copy Uploads; both of which are used for uploading/importing larger files?
/** * Different timeout for upload by url * This could be useful since when fetching large files, you may want a * timeout longer than the default $wgHTTPTimeout. False means fallback * to default. * * @var int|bool * * @since 1.22 */ $wgCopyUploadTimeout = false;
Can we also clarify what protected $timeout = 'default'; resolves to?