From d51e32f0155611f7a4724279fe807f1311d1dd6e Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Tue, 12 Sep 2023 12:38:49 +0200
Subject: [PATCH] Increase proxy request timeout

---
 calparrot/proxy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calparrot/proxy.py b/calparrot/proxy.py
index 3964901..ede55c2 100644
--- a/calparrot/proxy.py
+++ b/calparrot/proxy.py
@@ -50,7 +50,7 @@ class XFELOauthClient:
         self.scope = scope
         self.token_url = token_url
 
-        self.http_client = AsyncHTTPClient()
+        self.http_client = AsyncHTTPClient(defaults=dict(request_timeout=120))
         self.oauth_client = BackendApplicationClient(client_id, scope=scope)
 
     async def get_token(self):
-- 
GitLab