Use 12 retries

This commit is contained in:
Gaël Goinvic committed 2025-02-10 15:07:26 +01:00
1 parent 9cb72088c2
commit 72a16183f8
3 files changed
+2 -2

No files matched your search

File renamed without changes.
+1 -1
View File
@@ -13,7 +13,7 @@ from aiohttp_retry import JitterRetry, RetryClient
from .utils import KubeCtl, aiohttp_post_json, aiottp_get_json
retry_options = JitterRetry(attempts=7, statuses=[429], retry_all_server_errors=False)
retry_options = JitterRetry(attempts=12, statuses=[429], retry_all_server_errors=False)
async def get_nonce(synapse_fqdn: str, ssl_context) -> str:
+1 -1
View File
@@ -19,7 +19,7 @@ from lightkube.generic_resource import async_load_in_cluster_generic_resources,
from lightkube.resources.apiextensions_v1 import CustomResourceDefinition
from pytest_kubernetes.providers import AClusterManager
retry_options = JitterRetry(attempts=7, statuses=[429, 500, 503], retry_all_server_errors=False)
retry_options = JitterRetry(attempts=12, statuses=[429, 500, 503], retry_all_server_errors=False)
@dataclass