-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove SharedCache::getNumericStorageId to let CacheWrapper do it #4004
Conversation
The CacheWrapper will properly forward the call to the wrapped cache. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👎 For removing it from the shared cache
Having the tests from the rest of the commit would be nice though
apps/files_sharing/lib/Cache.php
Outdated
@@ -71,14 +71,6 @@ public function getCache() { | |||
return $this->cache; | |||
} | |||
|
|||
public function getNumericStorageId() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this breaks the sharing performance improvements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Unit tests fail:
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
Fixed |
Codecov Report
@@ Coverage Diff @@
## master #4004 +/- ##
===========================================
- Coverage 54.33% 54.24% -0.1%
- Complexity 21167 21282 +115
===========================================
Files 1305 1310 +5
Lines 80829 81201 +372
Branches 1282 1284 +2
===========================================
+ Hits 43920 44044 +124
- Misses 36909 37157 +248
Continue to review full report at Codecov.
|
cc @icewind1991 does this make sense?