-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd/project/limits: Use InstanceList for queries
This at least gets us from `O(n)` queries to `O(1)` (where n is instances). InstanceList does a lot of unnecessary faffing around with profiles that ends up getting thrown out (looks like about 4 queries whose results end up being dropped). Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
- Loading branch information
1 parent
b7d1b5d
commit 6d46fd6
Showing
1 changed file
with
20 additions
and
24 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