Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c3e68f

Browse files
committedOct 14, 2021
use warmUpCache() in WarmupCacheHandler
1 parent 1bedbd9 commit 4c3e68f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎Message/Handler/WarmupCacheHandler.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ public function __invoke(WarmupCache $message): void
4141
$path = $message->getPath();
4242

4343
foreach ($filters as $filter) {
44-
if ($message->isForce()) {
45-
$this->filterService->bustCache($path, $filter);
46-
}
44+
$this->filterService->warmUpCache($path, $filter, null, $message->isForce());
4745

4846
$this->filterService->getUrlOfFilteredImage($path, $filter);
4947
}

0 commit comments

Comments
 (0)
Please sign in to comment.