-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 8.10-HF23, 9.10
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Nuxeo Drive
-
Epic Link:
-
Tags:
Currently we're querying audit in AuditChangeFinder#getFileSystemChanges in order to compute the change summary. When detecting a sync/unsync event in this result, we invalidate caches and then execute the same query again.
Also, if the result is above a specific limit, we throw an exception. In this case and with default settings, we have queried at least 1000 entries for nothing.
These use cases could be optimized, we should get audit entries only once if we need it.