| Index: appengine/logdog/coordinator/backend/backend.go
|
| diff --git a/appengine/logdog/coordinator/backend/backend.go b/appengine/logdog/coordinator/backend/backend.go
|
| deleted file mode 100644
|
| index f5dbb3791186d3ad7e8d0dcb0f4d8afc79618209..0000000000000000000000000000000000000000
|
| --- a/appengine/logdog/coordinator/backend/backend.go
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package backend
|
| -
|
| -import (
|
| - "github.com/julienschmidt/httprouter"
|
| - "github.com/luci/luci-go/appengine/gaemiddleware"
|
| - "github.com/luci/luci-go/server/middleware"
|
| -)
|
| -
|
| -const (
|
| - // defaultMultiTaskBatchSize is the default value for Backend's
|
| - // multiTaskBatchSize parameter.
|
| - defaultMultiTaskBatchSize = 100
|
| -)
|
| -
|
| -// Backend is the base struct for all Backend handlers. It is mostly used to
|
| -// configure testing parameters.
|
| -type Backend struct {
|
| - // multiTaskBatchSize is the number of batch tasks to create at a time.
|
| - multiTaskBatchSize int
|
| -}
|
| -
|
| -func (b *Backend) getMultiTaskBatchSize() int {
|
| - if v := b.multiTaskBatchSize; v > 0 {
|
| - return v
|
| - }
|
| - return defaultMultiTaskBatchSize
|
| -}
|
| -
|
| -// InstallHandlers installs handlers for the Backend.
|
| -func (b *Backend) InstallHandlers(r *httprouter.Router, h middleware.Base) {
|
| - r.GET("/archive/cron", h(gaemiddleware.RequireCron(b.HandleArchiveCron)))
|
| -}
|
|
|