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

Issue 5500057: code review 5500057: dashboard: cache todo responses (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by adg
Modified:
13 years, 6 months ago
Reviewers:
rsc, adg1
CC:
golang-dev, dsymonds
Visibility:
Public.

Description

dashboard: cache todo responses

Patch Set 1 #

Patch Set 2 : diff -r e5e5553aa150 https://code.google.com/p/go #

Patch Set 3 : diff -r e5e5553aa150 https://code.google.com/p/go #

Total comments: 6

Patch Set 4 : diff -r e5e5553aa150 https://code.google.com/p/go #

Total comments: 2

Patch Set 5 : diff -r 4fcdedada20c https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -22 lines) Patch
A misc/dashboard/app/build/cache.go View 1 2 3 1 chunk +125 lines, -0 lines 0 comments Download
M misc/dashboard/app/build/handler.go View 1 2 3 4 chunks +20 lines, -17 lines 0 comments Download
M misc/dashboard/app/build/ui.go View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 8
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years, 6 months ago (2011-12-21 05:45:51 UTC) #1
dsymonds
http://codereview.appspot.com/5500057/diff/3001/misc/dashboard/app/build/cache.go File misc/dashboard/app/build/cache.go (right): http://codereview.appspot.com/5500057/diff/3001/misc/dashboard/app/build/cache.go#newcode24 misc/dashboard/app/build/cache.go:24: for _, key := range []string{uiCacheKey, todoCacheKey} { use ...
13 years, 6 months ago (2011-12-21 06:00:00 UTC) #2
adg1
http://codereview.appspot.com/5500057/diff/3001/misc/dashboard/app/build/cache.go File misc/dashboard/app/build/cache.go (right): http://codereview.appspot.com/5500057/diff/3001/misc/dashboard/app/build/cache.go#newcode24 misc/dashboard/app/build/cache.go:24: for _, key := range []string{uiCacheKey, todoCacheKey} { On ...
13 years, 6 months ago (2011-12-21 06:11:36 UTC) #3
dsymonds
LGTM http://codereview.appspot.com/5500057/diff/1005/misc/dashboard/app/build/cache.go File misc/dashboard/app/build/cache.go (right): http://codereview.appspot.com/5500057/diff/1005/misc/dashboard/app/build/cache.go#newcode101 misc/dashboard/app/build/cache.go:101: func todoCache(c appengine.Context) (item *memcache.Item, miss bool) { ...
13 years, 6 months ago (2011-12-21 06:21:14 UTC) #4
adg
*** Submitted as 9a1f034fc127 *** dashboard: cache todo responses R=golang-dev, dsymonds, adg CC=golang-dev http://codereview.appspot.com/5500057
13 years, 6 months ago (2011-12-21 06:24:48 UTC) #5
adg1
http://codereview.appspot.com/5500057/diff/1005/misc/dashboard/app/build/cache.go File misc/dashboard/app/build/cache.go (right): http://codereview.appspot.com/5500057/diff/1005/misc/dashboard/app/build/cache.go#newcode101 misc/dashboard/app/build/cache.go:101: func todoCache(c appengine.Context) (item *memcache.Item, miss bool) { On ...
13 years, 6 months ago (2011-12-21 06:28:45 UTC) #6
rsc
On Wed, Dec 21, 2011 at 01:28, <adg@google.com> wrote: > It more clearly provides the ...
13 years, 6 months ago (2011-12-21 06:46:14 UTC) #7
rsc
13 years, 6 months ago (2011-12-21 06:46:47 UTC) #8
On Wed, Dec 21, 2011 at 01:46, Russ Cox <rsc@golang.org> wrote:
> If you are interested in a negative result, you can use the ! operator.
> I agree with David that returning ok bool is more consistent with
> other functions and built-in operations.

For example if todoCache were a map...
Sign in to reply to this message.

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