]> source.dussan.org Git - nextcloud-server.git/commit
Close cursor early in calculateFolderSize
authorVincent Petry <pvince81@owncloud.com>
Fri, 28 Nov 2014 08:35:31 +0000 (09:35 +0100)
committerVincent Petry <pvince81@owncloud.com>
Fri, 28 Nov 2014 08:35:31 +0000 (09:35 +0100)
commit35ab770b1143b5ca4505d2aae889f5390e13cbb2
treed53e776809e8db8f5de07b90fcf8585494efd74e
parent099d43b1f9300f508c1899d376ae5aef459894bb
Close cursor early in calculateFolderSize

This method triggers additional queries in $this->update() so to avoid
potential database locks or delays, we close the cursor as soon as it is not needed any more
lib/private/files/cache/cache.php
lib/private/files/cache/homecache.php