HomeSoftware Heritage

Use generic HTTP retry policy by default and rename dedicated decorator

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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.

Details

Provenance
anlambertAuthored on Sep 21 2022, 4:56 PM
anlambertPushed on Sep 26 2022, 11:36 AM
Differential Revision
D8519: Use generic HTTP retry policy by default and rename dedicated decorator
Build Status
Buildable 31721
Build 49634: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.