diff --git a/osc/connection.py b/osc/connection.py index a6441211..26b2b498 100644 --- a/osc/connection.py +++ b/osc/connection.py @@ -217,7 +217,7 @@ def http_request(method: str, url: str, headers=None, data=None, file=None): pool = CONNECTION_POOLS.get(apiurl, None) if not pool: pool_kwargs = {} - pool_kwargs["retries"] = urllib3.Retry(total=int(conf.config["http_retries"])) + pool_kwargs["retries"] = urllib3.Retry(total=int(conf.config["http_retries"]), backoff_factor=2) if purl.scheme == "https": ssl_context = oscssl.create_ssl_context()