get_endpoints called too frequently

Bug #1084790 reported by Madison Scott-Clary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Fix Released
High
Madison Scott-Clary

Bug Description

get_endpoints is called on every instance of adding a service. Instead, it should be called in on_database_changed in app.js only if services are added. Additionally, if services are removed, garbage collection should be performed on the endpoints map.

Related branches

Changed in juju-gui:
assignee: nobody → Matthew Scott (makyo)
milestone: none → bluemoon
status: New → In Progress
Gary Poster (gary)
Changed in juju-gui:
importance: Undecided → High
Gary Poster (gary)
Changed in juju-gui:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.