Add default timeout for HTTP requests

This commit is contained in:
Raphael Michel
2023-12-02 14:45:28 +01:00
parent 6c479808d0
commit 409c1eef30
2 changed files with 24 additions and 1 deletions

View File

@@ -27,5 +27,8 @@ class PretixHelpersConfig(AppConfig):
label = 'pretixhelpers'
def ready(self):
from .monkeypatching import monkeypatch_all_at_ready
from .monkeypatching import (
monkeypatch_all_at_ready, monkeypatch_requests_timeout,
)
monkeypatch_all_at_ready()
monkeypatch_requests_timeout()