You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #54318 from nextcloud/feat/54115/emitPreloadCollectionEvent
Emits a `preloadCollection` event in the DAV server, so that plugins can listen to it and preload DAV properties for files inside a collection, to avoid the N+1 issue that would follow if loading properties on a per-file basis.
'{name}:{event} scanned {scans} nodes with {count} queries in depth {depth}/{maxDepth}. This is bad for performance, please report to the plugin developer!',
69
+
[
70
+
'name' => $pluginName,
71
+
'scans' => $nodes,
72
+
'count' => $queries,
73
+
'depth' => $depth,
74
+
'maxDepth' => $maxDepth,
75
+
'event' => $eventName,
76
+
]
77
+
);
65
78
}
66
-
$logger->error(
67
-
'{name} scanned {scans} nodes with {count} queries in depth {depth}/{maxDepth}. This is bad for performance, please report to the plugin developer!', [
0 commit comments