summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-23 15:04:51 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-25 12:00:56 +0100
commita97a290fd5ed06dfc33d2adeed5d3b7531674827 (patch)
tree8ee4ee5642bb98a95e2e6b9b45638310c47b1ff4 /core/register_command.php
parent3a6d16e6d449257b3800b14dc294808fab979cba (diff)
downloadnextcloud-server-a97a290fd5ed06dfc33d2adeed5d3b7531674827.tar.gz
nextcloud-server-a97a290fd5ed06dfc33d2adeed5d3b7531674827.zip
Cache fetched apps in update check
The code tried to find the apps with updates and thus was called for every available app. This caused to get the full appstore content as often as apps are available. The appstore request itself was cached nevertheless in an appdata dir, but with an object storage this is still a lot of round trips to read this cached result. Thus the instantiated list is now cached in a static variable (because it's a static method call). Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/register_command.php')
0 files changed, 0 insertions, 0 deletions