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

Unified Diff: tokenserver/appengine/impl/certconfig/warmup.go

Issue 2779323002: token-server: Warmup some local caches in /_ah/warmup. (Closed)
Patch Set: also warmup delegation config Created 3 years, 9 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
Index: tokenserver/appengine/impl/certconfig/warmup.go
diff --git a/tokenserver/appengine/impl/certconfig/warmup.go b/tokenserver/appengine/impl/certconfig/warmup.go
index 5c89fa3db805bf0924f6bb71588e85f508abc467..eed68dedce04b93cf784082ef1915dc017e151bd 100644
--- a/tokenserver/appengine/impl/certconfig/warmup.go
+++ b/tokenserver/appengine/impl/certconfig/warmup.go
@@ -12,7 +12,9 @@ import (
func init() {
warmup.Register("tokenserver/appengine/impl/certconfig", func(c context.Context) error {
- // TODO
+ // Warmup ID -> CN mapping. Ignore result (it may be "no such CA"), this is
+ // fine, the mapping will be preloaded.
+ GetCAByUniqueID(c, 0)
return nil
})
}
« no previous file with comments | « tokenserver/appengine/impl/certconfig/rpc_list_cas.go ('k') | tokenserver/appengine/impl/delegation/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698