Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(35)

Issue 6858099: Clean up get_endpoints

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by matthew.scott
Modified:
11 years, 5 months ago
Reviewers:
mp+137273
Visibility:
Public.

Description

Clean up get_endpoints get_endpoints was being called on every instance of service_add and not being garbage collected. Moved it to on_database_changed and added gc around services being removed. https://code.launchpad.net/~makyo/juju-gui/endpoints-once/+merge/137273 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clean up get_endpoints #

Total comments: 1

Patch Set 3 : Clean up get_endpoints #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -7 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 2 3 chunks +22 lines, -5 lines 0 comments Download
M test/test_app.js View 1 3 chunks +30 lines, -2 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
11 years, 5 months ago (2012-11-30 17:36:07 UTC) #1
hazmat
Missing a unit test. Else looks good. Merge with changes. Thanks https://codereview.appspot.com/6858099/diff/1/app/app.js File app/app.js (right): ...
11 years, 5 months ago (2012-11-30 21:17:40 UTC) #2
matthew.scott
Please take a look.
11 years, 5 months ago (2012-12-03 20:27:11 UTC) #3
bac
Looks good but I've suggested a code simplification. No need to re-review. https://codereview.appspot.com/6858099/diff/5001/app/app.js File app/app.js ...
11 years, 5 months ago (2012-12-04 16:28:34 UTC) #4
matthew.scott
11 years, 5 months ago (2012-12-04 22:15:42 UTC) #5
*** Submitted:

Clean up get_endpoints

get_endpoints was being called on every instance of service_add and not being
garbage collected.  Moved it to on_database_changed and added gc around services
being removed.

R=
CC=
https://codereview.appspot.com/6858099
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b