HomePhabricator

Bug: Update the number of expected items when increasing page size

Authored by EBernhardson.

Description

Bug: Update the number of expected items when increasing page size

When repeating queries to get enough items when doing application
level filtering the pager was trying to increase the page size of
the third query to ensure we get enough items. Unfortunately we didn't
update the number of items we expected back, so it stopped repeating.

This patch updates so the pager checks the options to see how many
items it should have received, rather than maintaining an independent
variable. It also increases the third query multiplier from 3 to 5, which allows this to work as intended on flow-tests.eqiad.wmflabs.
T86383 has been created to fix this properly instead of just delaying
the inevitable.

Change-Id: I0cd2b51f46dd2f2175688a3a2171c7b196503887

Details