optimize Folder::getById to use less queries
Signed-off-by:
Robin Appelman <robin@icewind.nl>
Showing
- lib/private/Files/Config/CachedMountInfo.php 17 additions, 1 deletionlib/private/Files/Config/CachedMountInfo.php
- lib/private/Files/Config/LazyStorageMountInfo.php 9 additions, 0 deletionslib/private/Files/Config/LazyStorageMountInfo.php
- lib/private/Files/Config/UserMountCache.php 15 additions, 15 deletionslib/private/Files/Config/UserMountCache.php
- lib/private/Files/Node/Folder.php 38 additions, 21 deletionslib/private/Files/Node/Folder.php
- lib/private/Files/Node/Root.php 13 additions, 1 deletionlib/private/Files/Node/Root.php
- lib/private/Server.php 2 additions, 2 deletionslib/private/Server.php
- lib/public/Files/Config/ICachedMountInfo.php 8 additions, 0 deletionslib/public/Files/Config/ICachedMountInfo.php
- tests/lib/Files/Config/UserMountCacheTest.php 72 additions, 39 deletionstests/lib/Files/Config/UserMountCacheTest.php
- tests/lib/Files/Node/FileTest.php 27 additions, 21 deletionstests/lib/Files/Node/FileTest.php
- tests/lib/Files/Node/FolderTest.php 104 additions, 49 deletionstests/lib/Files/Node/FolderTest.php
- tests/lib/Files/Node/HookConnectorTest.php 6 additions, 1 deletiontests/lib/Files/Node/HookConnectorTest.php
- tests/lib/Files/Node/IntegrationTest.php 1 addition, 1 deletiontests/lib/Files/Node/IntegrationTest.php
- tests/lib/Files/Node/NodeTest.php 7 additions, 2 deletionstests/lib/Files/Node/NodeTest.php
- tests/lib/Files/Node/RootTest.php 9 additions, 4 deletionstests/lib/Files/Node/RootTest.php
Loading
Please register or sign in to comment