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

Unified Diff: appengine/logdog/coordinator/backend/backend.go

Issue 1863973002: LogDog: Update to archival V2. (Closed) Base URL: https://github.com/luci/luci-go@grpcutil-errors
Patch Set: Code review comments, use Pub/Sub, archival staging, quality of life. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: appengine/logdog/coordinator/backend/backend.go
diff --git a/appengine/logdog/coordinator/backend/backend.go b/appengine/logdog/coordinator/backend/backend.go
index ff1218ce63c04e513f4a650bbcf5bd16b2cd2e11..6f46661d57a657ac98836e84e3ceba8b57f055b7 100644
--- a/appengine/logdog/coordinator/backend/backend.go
+++ b/appengine/logdog/coordinator/backend/backend.go
@@ -20,11 +20,11 @@ const (
// Backend is the base struct for all Backend handlers. It is mostly used to
// configure testing parameters.
type Backend struct {
+ // The backing Coordinator service base.
+ coordinator.ServiceBase
+
// multiTaskBatchSize is the number of batch tasks to create at a time.
multiTaskBatchSize int
-
- // s is the backing Coordinator service base.
- s coordinator.Service
}
func (b *Backend) getMultiTaskBatchSize() int {
@@ -36,7 +36,5 @@ func (b *Backend) getMultiTaskBatchSize() int {
// InstallHandlers installs handlers for the Backend.
func (b *Backend) InstallHandlers(r *httprouter.Router, h middleware.Base) {
- r.GET("/archive/cron/terminal", h(gaemiddleware.RequireCron(b.HandleArchiveCron)))
- r.GET("/archive/cron/nonterminal", h(gaemiddleware.RequireCron(b.HandleArchiveCronNT)))
- r.GET("/archive/cron/purge", h(b.HandleArchiveCronPurge))
+ r.GET("/archive/cron", h(gaemiddleware.RequireCron(b.HandleArchiveCron)))
}

Powered by Google App Engine
This is Rietveld 408576698