swh-lister/swh/lister/launchpad
Antoine R. Dumont (@ardumont) fc2edd24aa
launchpad: Manage unhandled exceptions when listing
Prior to this commit, the listing could fail when either reading a page or the page of
results (lauchpad api raises RestfulError). This now retries when those kind of
exceptions happen. If the error persists (after multiple tryouts and exponential
backoff), the listing continues nonetheless (with warning logs).

Note that if the page ends up being empty, it's no longer accounted for.

This actually allows the listing to finish in case of issues.

Related to T3945
2022-02-17 12:11:09 +01:00
..
tests launchpad: Manage unhandled exceptions when listing 2022-02-17 12:11:09 +01:00
__init__.py launchpad: Reimplement lister using new Lister API 2021-01-28 15:22:40 +01:00
lister.py launchpad: Manage unhandled exceptions when listing 2022-02-17 12:11:09 +01:00
tasks.py launchpad/tasks: Fix ping task function name 2021-01-28 17:35:40 +01:00