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): """