From: Vincent Vanwaelscappel Date: Wed, 8 Nov 2023 15:58:40 +0000 (+0100) Subject: wip #6462 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=06360220c59c6cf3aa3a50c9624e81736671eeaf;p=cubist_locale.git wip #6462 --- diff --git a/src/Translate.php b/src/Translate.php index ea7f8b5..895e2cf 100644 --- a/src/Translate.php +++ b/src/Translate.php @@ -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 = [];