mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-17 16:39:31 +00:00
Added basic price info retrieval from reichelt
This commit is contained in:
parent
e287918121
commit
39bc400376
2 changed files with 18 additions and 3 deletions
|
|
@ -33,8 +33,8 @@ use Symfony\Contracts\Cache\ItemInterface;
|
|||
final class PartInfoRetriever
|
||||
{
|
||||
|
||||
private const CACHE_DETAIL_EXPIRATION = 60 * 60 * 24 * 4; // 4 days
|
||||
private const CACHE_RESULT_EXPIRATION = 60 * 60 * 24 * 7; // 7 days
|
||||
private const CACHE_DETAIL_EXPIRATION = 5; // 4 days
|
||||
private const CACHE_RESULT_EXPIRATION = 5; // 7 days
|
||||
|
||||
public function __construct(private readonly ProviderRegistry $provider_registry,
|
||||
private readonly DTOtoEntityConverter $dto_to_entity_converter, private readonly CacheInterface $partInfoCache)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue