https://bugzilla.wikimedia.org/show_bug.cgi?id=72209

--- Comment #2 from Mpaa <[email protected]> ---
A possible strategy could be to increase the new_limit if the code is in this
condition in api.py, line 1090:

else:
    # if query-continue is present, self.resultkey might not have been
    # fetched yet
    if "query-continue" not in self.data:
        # No results.
        return
    --> start to increase counter?
        the tricky part is to maintain the total number returned = count

It tries to fetch only the number of elements left to reach 5.
When 1 is reached, it stays there for 12000 queries ..

*********        500 500 5 5 0          **********
[[test:User:Nip]]
[[test:User:TeleComNasSprVen]]
*********        500 500 5 3 2          **********
[[test:User:MaxSem/wap]]
*********        500 500 5 2 3          **********
*********        500 500 5 2 3          **********
*********        500 500 5 2 3          **********
*********        500 500 5 2 3          **********
*********        500 500 5 2 3          **********
*********        500 500 5 2 3          **********
[[test:User:HersfoldCiteBot/Citation errors needing manual review]]
*********        500 500 5 1 4          **********
*********        500 500 5 1 4          **********
*********        500 500 5 1 4          **********
......

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to