From c8b8fba171f024bfdf341c2620e3d3c1a6144cd7 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sat, 2 Dec 2023 14:49:31 +0100 Subject: [PATCH] Set timeout correctly --- src/pretix/helpers/monkeypatching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/helpers/monkeypatching.py b/src/pretix/helpers/monkeypatching.py index 2467ea37c5..9a4a9d9c71 100644 --- a/src/pretix/helpers/monkeypatching.py +++ b/src/pretix/helpers/monkeypatching.py @@ -79,7 +79,7 @@ def monkeypatch_requests_timeout(): def httpadapter_send(self, request, timeout=None, **kwargs): if timeout is None: - timeout = 3 + timeout = 30 return types.MethodType(old_httpadapter_send, self)(request, timeout=timeout, **kwargs) HTTPAdapter.send = httpadapter_send