pattern: Make cgit/launchpad listers flush regularly origins to scheduler
This reverts the pattern pushed in the main Lister class and defines it specifically in the listers that were identified as needing it:
-
The launchpad lister has just one iterator of origins so this needs to be splitted to have incremental results flushed to the scheduler [1]
-
For cgit, it's mostly for instances which returns a high number of results per page (e.g git.eclipse.org, ...). [2]
-
[3] T376#57560
Migrated from D4972 (view on Phabricator)