Index: trunk/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -334,7 +334,7 @@ |
335 | 335 | # Limit cap made to stop nasty timeouts |
336 | 336 | $sql = "SELECT cuc_user_text, cuc_timestamp, cuc_user, cuc_ip, cuc_agent, cuc_xff |
337 | 337 | 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"; |
339 | 339 | |
340 | 340 | $ret = $dbr->query( $sql, __METHOD__ ); |
341 | 341 | |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | # Limit cap made to stop nasty timeouts |
511 | 511 | $sql = "SELECT cuc_ip, cuc_timestamp |
512 | 512 | 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"; |
514 | 514 | |
515 | 515 | $ret = $dbr->query( $sql, __METHOD__ ); |
516 | 516 | |