mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Undo change to cache expiration
This commit is contained in:
parent
a798aa9c24
commit
32b4e6812d
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ use Symfony\Contracts\Cache\ItemInterface;
|
||||||
final class PartInfoRetriever
|
final class PartInfoRetriever
|
||||||
{
|
{
|
||||||
|
|
||||||
private const CACHE_DETAIL_EXPIRATION = 5; // 4 days
|
private const CACHE_DETAIL_EXPIRATION = 60 * 60 * 24 * 4; // 4 days
|
||||||
private const CACHE_RESULT_EXPIRATION = 5; // 7 days
|
private const CACHE_RESULT_EXPIRATION = 60 * 60 * 24 * 4; // 7 days
|
||||||
|
|
||||||
public function __construct(private readonly ProviderRegistry $provider_registry,
|
public function __construct(private readonly ProviderRegistry $provider_registry,
|
||||||
private readonly DTOtoEntityConverter $dto_to_entity_converter, private readonly CacheInterface $partInfoCache)
|
private readonly DTOtoEntityConverter $dto_to_entity_converter, private readonly CacheInterface $partInfoCache)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue