swh-lister/swh/lister/pypi
Antoine Lambert 9c55acd286 Use generic HTTP retry policy by default and rename dedicated decorator
Instead of retrying HTTP requests only for 429 status code by default,
prefer to use the generic retry policy enabling to also retry for status
codes >= 500 but also on ConnectionError exceptions.

Rename throttling_retry decorator to http_retry to reflect this change.
2022-09-26 10:48:40 +02:00
..
tests tests: Simplify origin comparison and improve pytest diff on failure 2022-08-24 17:21:24 +02:00
__init__.py Remove no longer used models field in dict returned by register 2021-02-02 16:33:52 +01:00
lister.py Use generic HTTP retry policy by default and rename dedicated decorator 2022-09-26 10:48:40 +02:00
tasks.py Make PyPI lister incremental and complete in regards to last_update 2021-07-09 12:51:58 +02:00