r25716 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25715‎ | r25716 | r25717 >
Date:06:50, 10 September 2007
Author:aaron
Status:old
Tags:
Comment:
*lower limit
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser_body.php
@@ -334,7 +334,7 @@
335335 # Limit cap made to stop nasty timeouts
336336 $sql = "SELECT cuc_user_text, cuc_timestamp, cuc_user, cuc_ip, cuc_agent, cuc_xff
337337 FROM $cu_changes FORCE INDEX($index) WHERE $ip_conds
338 - ORDER BY cuc_timestamp DESC LIMIT 10000";
 338+ ORDER BY cuc_timestamp DESC LIMIT 5000";
339339
340340 $ret = $dbr->query( $sql, __METHOD__ );
341341
@@ -509,7 +509,7 @@
510510 # Limit cap made to stop nasty timeouts
511511 $sql = "SELECT cuc_ip, cuc_timestamp
512512 FROM $cu_changes FORCE INDEX(cuc_user_time) WHERE cuc_user = $user_id
513 - ORDER BY cuc_timestamp DESC LIMIT 10000";
 513+ ORDER BY cuc_timestamp DESC LIMIT 5000";
514514
515515 $ret = $dbr->query( $sql, __METHOD__ );
516516

Status & tagging log