Change-Id: I2d91647abdaff820eb87b0bd45505ffa1fbc25fe
} elseif ( $user->pingLimiter( 'renderfile' ) ) {
wfThumbError( 500, wfMessage( 'actionthrottledtext' ) );
return;
- } elseif ( wfThumbIsAttemptThrottled( $img, $thumbName, 5 ) ) {
- wfThumbError( 500, wfMessage( 'thumbnail_image-failure-limit', 5 ) );
+ } elseif ( wfThumbIsAttemptThrottled( $img, $thumbName, 4 ) ) {
+ wfThumbError( 500, wfMessage( 'thumbnail_image-failure-limit', 4 ) );
return;
}