diff --git a/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache b/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache index edfcc66727e..c3f8643687a 100644 --- a/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache +++ b/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache @@ -79,8 +79,8 @@ class RESTClientObject: client_session=self.pool_manager, retry_options=aiohttp_retry.ExponentialRetry( attempts=retries, - factor=0.0, - start_timeout=0.0, + factor=2.0, + start_timeout=0.1, max_timeout=120.0 ) ) diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/rest.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/rest.py index ffdf1f9d400..53b81b840d2 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/rest.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/rest.py @@ -89,8 +89,8 @@ class RESTClientObject: client_session=self.pool_manager, retry_options=aiohttp_retry.ExponentialRetry( attempts=retries, - factor=0.0, - start_timeout=0.0, + factor=2.0, + start_timeout=0.1, max_timeout=120.0 ) )