Skip to content

Commit 3db209e

Browse files
committed
Merge #306 [V33] Fix android e2ee slowness and upload speed
2 parents 84eba43 + 7e4d40a commit 3db209e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/private/Collaboration/Reference/ReferenceManager.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ public function invalidateCache(string $cachePrefix, ?string $cacheKey = null):
172172
return;
173173
}
174174

175-
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey));
175+
// remove specific cache entry; using ($cacheKey ?? '') avoids md5(null) warnings and ensures stable hashing
176+
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey ?? ''));
176177
}
177178

178179
/**

0 commit comments

Comments
 (0)