nextcloud / files_lock

GNU Affero General Public License v3.0
25 stars 8 forks source link

perf: Avoid re-query of already fetched lock info #196

Closed juliushaertl closed 10 months ago

juliushaertl commented 10 months ago

We perform a query to cache file lock info for a directory listing, however the logic to get the lock info then in the prop find plugin still queried once per file as the cache was not propagated for files without lock.

Found when checking the most called queries on PMM

Screenshot 2023-12-16 at 10 34 40
juliushaertl commented 10 months ago

/backport to stable27