r92154 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92153‎ | r92154 | r92155 >
Date:11:48, 14 July 2011
Author:ariel
Status:deferred
Tags:
Comment:
this time without the debugging values for frequency of api calls
Modified paths:
  • /branches/ariel/xmldumps-backup/mwbzutils/findpageidinbz2xml.c (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/mwbzutils/findpageidinbz2xml.c
@@ -336,8 +336,7 @@
337337 at least one rev id in there. 20 million / 5000 or whatever it is, is 4000 buffers full of crap
338338 hopefully that doesn't take forever.
339339 */
340 - /* if (buffer_count>(20000000/BUFINSIZE) && rev_id) { */
341 - if (buffer_count>3 && rev_id) {
 340+ if (buffer_count>(20000000/BUFINSIZE) && rev_id) {
342341 if (use_api) {
343342 page_id_found = get_page_id_from_rev_id_via_api(rev_id, fin);
344343 }

Status & tagging log