From 88e07f153359f54cced40ec7a323d8bba3117cb9 Mon Sep 17 00:00:00 2001 From: roadiz-ci Date: Tue, 3 Dec 2024 16:21:48 +0000 Subject: [PATCH] chore: Fix PurgeReverseProxyCacheMessageHandler to search for all NodesSources --- src/Message/Handler/PurgeReverseProxyCacheMessageHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Message/Handler/PurgeReverseProxyCacheMessageHandler.php b/src/Message/Handler/PurgeReverseProxyCacheMessageHandler.php index 33013681..c884f3cc 100644 --- a/src/Message/Handler/PurgeReverseProxyCacheMessageHandler.php +++ b/src/Message/Handler/PurgeReverseProxyCacheMessageHandler.php @@ -34,6 +34,7 @@ public function __invoke(PurgeReverseProxyCacheMessage $message): void { $nodeSource = $this->managerRegistry ->getRepository(NodesSources::class) + ->setDisplayingAllNodesStatuses(true) ->find($message->getNodeSourceId()); if (null === $nodeSource) { throw new UnrecoverableMessageHandlingException('NodesSources does not exist anymore.');