Skip to content

Commit

Permalink
Merge pull request #227 from patchlevel/dont-skip-rebuild
Browse files Browse the repository at this point in the history
dont skip rebuild, if subscription is unknown
  • Loading branch information
DavidBadura authored Dec 11, 2024
2 parents 799bed4 + 24d4a31 commit c3e4ae8
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ public function onKernelRequest(RequestEvent $event): void

$item = $this->cache->getItem($metadata->id);

if (!$item->isHit()) {
$item->set($this->getLastModifiedTime($subscriber));
$this->cache->save($item);

continue;
}

/** @var int|null $lastModified */
$lastModified = $item->get();
$currentModified = $this->getLastModifiedTime($subscriber);
Expand Down

0 comments on commit c3e4ae8

Please sign in to comment.