summaryrefslogtreecommitdiffstats
path: root/babel.config.js
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-07 14:00:48 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-01-13 10:39:32 +0100
commit1f392d666af950da2209f1cf346885c991183d81 (patch)
tree80c45c0d0d5b1f1661a678f93e58366d0720f930 /babel.config.js
parent89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9 (diff)
downloadnextcloud-server-1f392d666af950da2209f1cf346885c991183d81.tar.gz
nextcloud-server-1f392d666af950da2209f1cf346885c991183d81.zip
Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the caching for the groupfolder application since it worked due to the fact that in groupfolders, getFileIds could be called with the same $cacheId and path for actually different groupfolders. This revert this change and instead add the folderId from the groupFolder to the cacheId. This solve the issue of the uniqueness of the cacheId inside GroupFolder. Downside is that we introduce groupfolder specific implementation inside the server repo. The seconf optimization is to not consider paths starting with __groupfolders in executeCheck. This is due to the fact that files in the groupfolder application call two times executeCheck one time with the url __groupfolder/<folderId>/<path> and the other time with <path>. The first time will always return an empty systemTags array while the second call will return the correct system tags. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'babel.config.js')
0 files changed, 0 insertions, 0 deletions