Added missing File::RENDER_NOW flag to thumb.php
Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0
This commit is contained in:
parent
c203dbda18
commit
5d286fad03
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ function wfGenerateThumbnail( File $file, array $params, $thumbName, $thumbPath
|
|||
// If the worker that finished made this thumbnail then use it.
|
||||
// Otherwise, it probably made a different thumbnail for this file.
|
||||
return $file->getRepo()->fileExists( $thumbPath )
|
||||
? $file->transform( $params )
|
||||
? $file->transform( $params, File::RENDER_NOW )
|
||||
: false; // retry once more in exclusive mode
|
||||
},
|
||||
'fallback' => function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue