From 409c1fffee6e80de11e886599b91cfd75d0cc8cf Mon Sep 17 00:00:00 2001 From: Armin Samii Date: Wed, 10 Dec 2025 13:38:42 -0500 Subject: [PATCH] increase cloudflare timeout on PATCH --- common/cloudflare.py | 2 +- visualizer/tests/testSimple.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cloudflare.py b/common/cloudflare.py index 3be5b0c5..33c2a7f9 100644 --- a/common/cloudflare.py +++ b/common/cloudflare.py @@ -74,7 +74,7 @@ def purge_paths_cache(cls, paths): apiUrl, headers=cls._get_auth_headers(), data=json.dumps(data), - timeout=3) + timeout=8) info = f"{len(paths)} starting with {paths[0]}" if response.status_code == 200: diff --git a/visualizer/tests/testSimple.py b/visualizer/tests/testSimple.py index 5354a586..f5df1319 100644 --- a/visualizer/tests/testSimple.py +++ b/visualizer/tests/testSimple.py @@ -430,7 +430,7 @@ def test_cloudflare_purge(self, requestPostResponse): requestPostResponse.assert_called_with(expectedUrl, headers=expectedHeaders, data=json.dumps(expectedData), - timeout=3) + timeout=8) def test_homepage_real_world_examples(self): """