Maximum value of Edge Cache TTL (#125)

It is possible to choose a month value, so the value parameter can be greater
This commit is contained in:
kamilsolarczyk
2020-07-07 12:18:10 +02:00
committed by GitHub
parent ffc3989607
commit afd332a747

View File

@@ -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.');
}