From c81e91d4fea80ab15b80fee7f498da10120924dc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 21 Apr 2014 11:19:52 -0700 Subject: [PATCH] Lowered limit for wfThumbIsAttemptThrottled() to 4 Change-Id: I2d91647abdaff820eb87b0bd45505ffa1fbc25fe --- thumb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thumb.php b/thumb.php index a2a0e938f9..df6c416a2e 100644 --- a/thumb.php +++ b/thumb.php @@ -320,8 +320,8 @@ function wfStreamThumb( array $params ) { } 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; } -- 2.20.1