api: add timeout for sentry proxy

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-15 18:59:27 +02:00
parent 916530f0d8
commit 274b555912
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ class SentryTunnelView(APIView):
headers={ headers={
"Content-Type": "application/octet-stream", "Content-Type": "application/octet-stream",
}, },
timeout=5,
) )
try: try:
response.raise_for_status() response.raise_for_status()