File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/Services/InfoProviderSystem Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 3333final 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 )
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments