From efcd04434d935b8614b66de24b5765697ed1ed39 Mon Sep 17 00:00:00 2001 From: Josh Waihi Date: Mon, 4 Dec 2017 11:43:01 +1300 Subject: [PATCH] Set API client timeout to 6 seconds --- src/ApiEndpoints/CloudFlareAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApiEndpoints/CloudFlareAPI.php b/src/ApiEndpoints/CloudFlareAPI.php index da7b44a..6374a7f 100644 --- a/src/ApiEndpoints/CloudFlareAPI.php +++ b/src/ApiEndpoints/CloudFlareAPI.php @@ -66,7 +66,7 @@ abstract class CloudFlareAPI { const HTTP_CONNECTION_TIMEOUT = 1.5; // Time in seconds. - const HTTP_TIMEOUT = 3; + const HTTP_TIMEOUT = 6; // MAX Number of results returned by the API in one request. const MAX_ITEMS_PER_PAGE = 50;