From: Aaron Schulz Date: Mon, 21 Apr 2014 18:19:52 +0000 (-0700) Subject: Lowered limit for wfThumbIsAttemptThrottled() to 4 X-Git-Tag: 1.31.0-rc.0~16119^2 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=c81e91d4fea80ab15b80fee7f498da10120924dc;p=lhc%2Fweb%2Fwiklou.git Lowered limit for wfThumbIsAttemptThrottled() to 4 Change-Id: I2d91647abdaff820eb87b0bd45505ffa1fbc25fe --- 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; }