Skip to content

Commit 1e80be1

Browse files
committed
Added documentation for reichelt info provider
1 parent 3585b08 commit 1e80be1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Services/InfoProviderSystem/PartInfoRetriever.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
final class PartInfoRetriever
3434
{
3535

36-
private const CACHE_DETAIL_EXPIRATION = 60 * 60 * 24 * 4; // 4 days
37-
private const CACHE_RESULT_EXPIRATION = 60 * 60 * 24 * 4; // 7 days
36+
private const CACHE_DETAIL_EXPIRATION = 5; // 4 days
37+
private const CACHE_RESULT_EXPIRATION = 5; // 7 days
3838

3939
public function __construct(private readonly ProviderRegistry $provider_registry,
4040
private readonly DTOtoEntityConverter $dto_to_entity_converter, private readonly CacheInterface $partInfoCache)

src/Services/InfoProviderSystem/Providers/ReicheltProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ class ReicheltProvider implements InfoProviderInterface
3838

3939
public const DISTRIBUTOR_NAME = "Reichelt";
4040

41-
private const SEARCH_ENDPOINT = "https://www.reichelt.com/index.html?ACTION=446&LA=0&nbc=1&q=%s";
42-
4341
public function __construct(private readonly HttpClientInterface $client,
4442
#[Autowire(env: "bool:PROVIDER_REICHELT_ENABLED")]
4543
private readonly bool $enabled = true,

0 commit comments

Comments
 (0)