Descriptionadd presence.ChildrenWatcher
This mimics watcher.ChildrenWatcher, but expects that all children be
presence nodes; and notifies of child node Pinger life/death, rather
than mere existence of child nodes.
This is now much closer to the original proposal, but hopefully with less
apparent crack-related influences, and abandons the somewhat optimistic
(read: almost entirely composed of weapons-grade crack) attempt to make
the childLoop goroutines responsible for their own cleanup.
Original Cl at: https://codereview.appspot.com/6335057/ (CL changed for dull
prereq-related reasons).
https://code.launchpad.net/~fwereade/juju-core/watch-presence-children/+merge/112375
Requires: https://code.launchpad.net/~fwereade/juju-core/consolidate-content-watchers/+merge/112350
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 11
Patch Set 2 : add presence.ChildrenWatcher #Patch Set 3 : add presence.ChildrenWatcher #
Total comments: 21
Patch Set 4 : add presence.ChildrenWatcher #Patch Set 5 : add presence.ChildrenWatcher #Patch Set 6 : add presence.ChildrenWatcher #
Total comments: 5
Patch Set 7 : add presence.ChildrenWatcher #
MessagesTotal messages: 12
|