Staging instance, all changes can be removed at any time

Skip to content

package/utils: Use http_retry decorator from swh.core.retry

The http_retry decorator from swh-lister has been moved to swh-core so we can now use it in swh-loader-core instead of duplicating retry code.

Moreover, it also enables to retry HTTP requests on errors like 502, 503 or 504 instead on simply retrying on 429.

Jenkins builds will fail until swh-core!347 (merged) merged and swh.core v2.22.0 released.

Should fix/mitigate SWH-LOADER-CORE-1GD

Merge request reports

Loading