From e7394c165a4558399da818b6856470317e0a8940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 20 Feb 2025 16:57:16 +0100 Subject: [PATCH] Undo change to cache expiration --- src/Services/InfoProviderSystem/PartInfoRetriever.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/InfoProviderSystem/PartInfoRetriever.php b/src/Services/InfoProviderSystem/PartInfoRetriever.php index 1db36eee..8a8eeae9 100644 --- a/src/Services/InfoProviderSystem/PartInfoRetriever.php +++ b/src/Services/InfoProviderSystem/PartInfoRetriever.php @@ -33,8 +33,8 @@ use Symfony\Contracts\Cache\ItemInterface; final class PartInfoRetriever { - private const CACHE_DETAIL_EXPIRATION = 5; // 4 days - private const CACHE_RESULT_EXPIRATION = 5; // 7 days + private const CACHE_DETAIL_EXPIRATION = 60 * 60 * 24 * 4; // 4 days + private const CACHE_RESULT_EXPIRATION = 60 * 60 * 24 * 4; // 7 days public function __construct(private readonly ProviderRegistry $provider_registry, private readonly DTOtoEntityConverter $dto_to_entity_converter, private readonly CacheInterface $partInfoCache)