-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the efficiency of working with the DSA. (#1691)
* Improve the efficiency of working with the DSA. Before, this often queried all of the items, files, or annotations in the system. Now it only queries what is required to perform the desired task. I've disabled a status check (by having it always return 0 values). If this is actually needed, we should add an endpoint to the DSA to do this efficiently. The listing endpoints do return counts in their headers. The slow query is getting the count of images with annotations. Signed-off-by: David Manthey <[email protected]> * Find items regardless of folder; be faster for known folders --------- Signed-off-by: David Manthey <[email protected]>
- Loading branch information
Showing
1 changed file
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters