Skip to content

Commit e11572a

Browse files
authored
[Caching] Alternative Fix caching on change config cache not cleared (#3483)
1 parent 26c8819 commit e11572a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/Caching/Detector/ChangedFilesDetector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private function hashFile(string $filePath): string
112112

113113
private function storeConfigurationDataHash(string $filePath, string $configurationHash): void
114114
{
115-
$key = CacheKey::CONFIGURATION_HASH_KEY . '_' . $this->hashFile($filePath);
115+
$key = CacheKey::CONFIGURATION_HASH_KEY . '_' . $this->getFilePathCacheKey($filePath);
116116
$this->invalidateCacheIfConfigurationChanged($key, $configurationHash);
117117

118118
$this->cache->save($key, CacheKey::CONFIGURATION_HASH_KEY, $configurationHash);

0 commit comments

Comments
 (0)