From 8b56d97037d389ebbadc0e6521a6e368074250b3 Mon Sep 17 00:00:00 2001 From: Sabrina Demagny Date: Mon, 3 Mar 2025 15:52:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F(dimail)=20increase=20time?= =?UTF-8?q?out=20value=20for=20check=20domain=20API=20call?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In use a timeout of 20 seconds seems more appropriate --- CHANGELOG.md | 1 + src/backend/mailbox_manager/utils/dimail.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 197d6b4..70eb290 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/backend/mailbox_manager/utils/dimail.py b/src/backend/mailbox_manager/utils/dimail.py index f67d16f..131c82a 100644 --- a/src/backend/mailbox_manager/utils/dimail.py +++ b/src/backend/mailbox_manager/utils/dimail.py @@ -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(