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

Issue 8823043: state: start allManager on demand

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rog
Modified:
11 years ago
Reviewers:
mp+159337, fwereade
Visibility:
Public.

Description

state: start allManager on demand As things are currently, every single agent will be watching *everything*. This is clearly wrong, so we start the allManager only when someone wants to watch everything. https://code.launchpad.net/~rogpeppe/juju-core/291-allwatcher-on-demand/+merge/159337 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: start allManager on demand #

Patch Set 3 : state: start allManager on demand #

Patch Set 4 : state: start allManager on demand #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/open.go View 3 chunks +6 lines, -3 lines 0 comments Download
M state/state.go View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 3
rog
Please take a look.
11 years ago (2013-04-17 10:09:17 UTC) #1
fwereade
LGTM
11 years ago (2013-04-17 10:11:48 UTC) #2
rog
11 years ago (2013-04-17 10:14:46 UTC) #3
*** Submitted:

state: start allManager on demand

As things are currently, every single agent
will be watching *everything*. This is clearly
wrong, so we start the allManager only
when someone wants to watch everything.

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

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