From 274b55591209aa4e4f48e67014f561acb86474d5 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 15 Sep 2021 18:59:27 +0200 Subject: [PATCH] api: add timeout for sentry proxy Signed-off-by: Jens Langhammer --- authentik/api/v3/sentry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/api/v3/sentry.py b/authentik/api/v3/sentry.py index 8f35734da..1bd59d1ff 100644 --- a/authentik/api/v3/sentry.py +++ b/authentik/api/v3/sentry.py @@ -65,6 +65,7 @@ class SentryTunnelView(APIView): headers={ "Content-Type": "application/octet-stream", }, + timeout=5, ) try: response.raise_for_status()