Use capped cache for encryption's user access list - #25055
Conversation
|
By analyzing the blame information on this pull request, we identified @schiessle, @DeepDiver1975 and @LukasReschke to be potential reviewers |
|
semi- 👍 Where was the (non capped?) $this->cache initialized before? In some sub class? Does it make sense to construct it lazily only in getAccessList() ? |
It wasn't. It's PHP magic 🔮 This is valid PHP: <?php
$x = null;
$x[] = 1;I don't think there is much benefit to construct it lazily especially that this here is just a utility class instantiated once. |
I tested that locally and couldn't believe my eyes... |
|
👍 |
|
Not even needed to |
|
stable9: #25084 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
For #24403 (comment)
@owncloud/filesystem @owncloud/encryption @butonic @mmattel @nickvergessen @rullzer