Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2100)

Unified Diff: appengine/gaemiddleware/context.go

Issue 2646733008: server/auth: Add in-process LRU-based cache. (Closed)
Patch Set: Rename GlobalCache => Cache, ProcCache => MemoryCache. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/gaeauth/server/cache.go ('k') | server/auth/cache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/gaemiddleware/context.go
diff --git a/appengine/gaemiddleware/context.go b/appengine/gaemiddleware/context.go
index 27c66037ba8590eba7c576897e47a4252b205566..06af2bbd81cda1b97473e83fdf1f9be5eef84898 100644
--- a/appengine/gaemiddleware/context.go
+++ b/appengine/gaemiddleware/context.go
@@ -55,7 +55,7 @@ var (
Signer: gaesigner.Signer{},
AccessTokenProvider: client.GetAccessToken,
AnonymousTransport: urlfetch.Get,
- GlobalCache: &server.Memcache{Namespace: "__luciauth__"},
+ Cache: &server.Memcache{Namespace: "__luciauth__"},
}
// globalTsMonState holds state related to time series monitoring.
« no previous file with comments | « appengine/gaeauth/server/cache.go ('k') | server/auth/cache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698