👽️(dimail) increase timeout value for check domain API call

In use a timeout of 20 seconds seems more appropriate
This commit is contained in:
Sabrina Demagny
2025-03-03 15:52:37 +01:00
parent 5fd6579d3c
commit 8b56d97037
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ and this project adheres to
### Fixed
- 👽️(dimail) increase timeout value for check domain API call
- 🧱(helm) add resource-server ingress path #743
- 🌐(backend) synchronize translations with crowdin again

View File

@@ -425,7 +425,7 @@ class DimailAPIClient:
f"{self.API_URL}/domains/{domain.name}/check/",
headers={"Authorization": f"Basic {self.API_CREDENTIALS}"},
verify=True,
timeout=10,
timeout=20,
)
except requests.exceptions.ConnectionError as error:
logger.error(