Skip to content

Commit 2278add

Browse files
committed
esclusi tag fullpage dalla cancellazione di redis perchè ci pensa il service della fullpage a rinfrescarli
1 parent 5bf64a9 commit 2278add

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Console/ProcessCacheInvalidationEventsCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ protected function processBatch(array $allEvents, array $eventsToInvalidate): vo
164164
}
165165

166166
if (!empty($tags)) {
167+
// Escludo i tag fullpage
168+
$tags = array_filter($tags, function ($item) {
169+
return !str_contains($item, 'fullpage');
170+
});
167171
$this->invalidateTags($tags);
168172
}
169173

0 commit comments

Comments
 (0)