Skip to content

Commit

Permalink
Revert "TASK: Reintroduce content graph / cr read model cache"
Browse files Browse the repository at this point in the history
In commit d57195d the cache invalidation was partly repaired
But as we removed the content graph cache layer currently in 9.0 neos/neos-development-collection#5246

A reintroduction will be discussed as part of another change.

Related neos/neos-development-collection#5039
  • Loading branch information
mhsdesign committed Oct 15, 2024
1 parent da2cb14 commit efb2f4e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/DoctrineDbalContentGraphProjection.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
use Neos\ContentRepository\Core\Projection\ContentGraph\Timestamps;
use Neos\ContentRepository\Core\Projection\ProjectionInterface;
use Neos\ContentRepository\Core\Projection\ProjectionStatus;
use Neos\ContentRepository\Core\Projection\WithMarkStaleInterface;
use Neos\ContentRepository\Core\SharedModel\Node\NodeAggregateClassification;
use Neos\ContentRepository\Core\SharedModel\Node\NodeAggregateId;
use Neos\ContentRepository\Core\SharedModel\Node\NodeName;
Expand All @@ -80,7 +79,7 @@
* @implements ProjectionInterface<ContentRepositoryReadModel>
* @internal but the graph projection is api
*/
final class DoctrineDbalContentGraphProjection implements ProjectionInterface, WithMarkStaleInterface
final class DoctrineDbalContentGraphProjection implements ProjectionInterface
{
use ContentStream;
use NodeMove;
Expand Down Expand Up @@ -170,12 +169,6 @@ public function reset(): void

$this->checkpointStorage->acquireLock();
$this->checkpointStorage->updateAndReleaseLock(SequenceNumber::none());
$this->getState()->forgetInstances();
}

public function markStale(): void
{
$this->getState()->forgetInstances();
}

public function getCheckpointStorage(): DbalCheckpointStorage
Expand Down

0 comments on commit efb2f4e

Please sign in to comment.