Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0
// 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 )
// 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() {
: false; // retry once more in exclusive mode
},
'fallback' => function() {