]> 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)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 29 Jan 2015 13:53:44 +0000 (14:53 +0100)
commit234f33e01e630f763f34c51114d25986bae02b42
tree1198fe4d097428bda731d0f2dc778ebba604b645
parent80560e70b7133739f87cf6a03acb55169fb2462f
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