From 5d286fad03dbc8e722904fe56df2a2478c67edd8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 2 May 2014 16:33:14 -0700 Subject: [PATCH] Added missing File::RENDER_NOW flag to thumb.php Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0 --- thumb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thumb.php b/thumb.php index 3d49a4353b..59bf8dcffd 100644 --- a/thumb.php +++ b/thumb.php @@ -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() { -- 2.20.1