]> _ Git - cubist_locale.git/commitdiff
wip #6462
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Nov 2023 15:58:40 +0000 (16:58 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Nov 2023 15:58:40 +0000 (16:58 +0100)
src/Translate.php

index ea7f8b5db2f9e31742600cb399d1f4e83a46a122..895e2cf839dcb103a7bf08dc4d3119046723dae1 100644 (file)
@@ -63,7 +63,7 @@ class Translate
             $cacheKey = 'translate_path_' . Files::hashFileAttributes(__FILE__) . sha1($path . '--' . print_r($this->_extensions, true) . '//' . print_r($this->_exclude, true) . '//' . Files::dirmtime($path, true, $this->_extensions) . '*');
             stop_measure('Get translate hash ' . $path);
 
-            $found = cache()->remember($cacheKey, 28800, function () use ($path) {
+            $found = cache()->remember($cacheKey, 3600, function () use ($path) {
                 start_measure('Parse path for translations ' . $path);
                 $res = [];
                 $locations = [];