Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(cache): invalidate all cache with a prefix instead of deleting on…
…e key that we don't use anymore

Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Jul 10, 2025
commit f73f992273c527e81af54c4a23369a4b27fa7cf6
2 changes: 1 addition & 1 deletion lib/Service/OpenAiSettingsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct(

public function invalidateModelsCache(): void {
$cache = $this->cacheFactory->createDistributed(Application::APP_ID);
$cache->remove(Application::MODELS_CACHE_KEY);
$cache->clear(Application::MODELS_CACHE_KEY);
}

////////////////////////////////////////////
Expand Down
Loading