From afd332a747e179b6c86c61556a7a6282b6b5a9ac Mon Sep 17 00:00:00 2001 From: kamilsolarczyk <62372040+kamilsolarczyk@users.noreply.github.com> Date: Tue, 7 Jul 2020 12:18:10 +0200 Subject: [PATCH] Maximum value of Edge Cache TTL (#125) It is possible to choose a month value, so the value parameter can be greater --- src/Configurations/PageRulesActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Configurations/PageRulesActions.php b/src/Configurations/PageRulesActions.php index 70b4b3a..27790bd 100755 --- a/src/Configurations/PageRulesActions.php +++ b/src/Configurations/PageRulesActions.php @@ -117,7 +117,7 @@ class PageRulesActions implements Configurations public function setEdgeCacheTTL(int $value) { - if ($value > 2419200) { + if ($value > 2678400) { throw new ConfigurationsException('Edge Cache TTL too high.'); }