Stop creating extra state instances for every api connection. #6789

Merged
merged 1 commit into from Jan 10, 2017

Conversation

Projects
None yet
3 participants
Owner

howbazaar commented Jan 10, 2017

The way the cross model api factory was being created was causing an extra state instance to be created for every api call that was not to the controller model.

There is further cleanup that could be done, but I'm leaving it mostly the same for now.

Thank you \o/
Brilliant find :)

Owner

howbazaar commented Jan 10, 2017

$$merge$$

Contributor

jujubot commented Jan 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 3cdf173 into juju:2.1 Jan 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment