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

View file

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