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

Side by Side Diff: tokenserver/appengine/impl/delegation/warmup.go

Issue 2779323002: token-server: Warmup some local caches in /_ah/warmup. (Closed)
Patch Set: also warmup delegation config Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The LUCI Authors. All rights reserved. 1 // Copyright 2017 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package certconfig 5 package delegation
6 6
7 import ( 7 import (
8 "golang.org/x/net/context" 8 "golang.org/x/net/context"
9 9
10 "github.com/luci/luci-go/server/warmup" 10 "github.com/luci/luci-go/server/warmup"
11 ) 11 )
12 12
13 func init() { 13 func init() {
14 » warmup.Register("tokenserver/appengine/impl/certconfig", func(c context. Context) error { 14 » warmup.Register("tokenserver/appengine/impl/delegation", func(c context. Context) error {
15 » » // TODO 15 » » _, err := DelegationConfigLoader(c)
16 » » return nil 16 » » return err
17 }) 17 })
18 } 18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698