Skip to content

Commit 03db33d

Browse files
committed
remove ttl
1 parent 35ce576 commit 03db33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator/DocumentValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public static function validate(
138138

139139
// Only cache clean results
140140
if ($cache && $cacheKey && count($errors) === 0) {
141-
$cache->set($cacheKey, $errors, 300); // TTL = 5 min
141+
$cache->set($cacheKey, $errors);
142142
}
143143

144144
return $errors;

0 commit comments

Comments
 (0)