-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7512 from mjs/1698701-AllModelWatcher-ForModel-2.2
state: Use StatePool instead of ForModel in AllModelWatcher ## Description of change ForModel is inefficient. Starting a AllModelWatcher on a controller with many models would have had a significant resource impact. Also a drive-by fix for an incorrect call in state/logdb. ## QA steps Bootstrapped a new controller and then connected using this client: https://gist.github.com/mjs/d9d016433e4348b4aa990a8f81d65d03 Deployed software in multiple models and ensured that all expected changes were observed. ## Documentation changes N.A. ## Bug reference https://bugs.launchpad.net/juju/+bug/1698701
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 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
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
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