luci: go.chromium.org/luci/resultdb/internal/services/finalizer Index | Files

package finalizer

import "go.chromium.org/luci/resultdb/internal/services/finalizer"

Index

Package Files

finalizer.go

func InitServer Uses

func InitServer(srv *server.Server, opts Options)

InitServer initializes a finalizer server.

type Options Uses

type Options struct {
    // How often to query for tasks.
    TaskQueryInterval time.Duration

    // How long to lease a task for.
    TaskLeaseDuration time.Duration

    // Number of tasks to process concurrently.
    TaskWorkers int
}

Options is finalizer server configuration.

func DefaultOptions Uses

func DefaultOptions() Options

DefaultOptions returns Options with default values.

Package finalizer imports 20 packages (graph) and is imported by 1 packages. Updated 2020-09-30. Refresh now. Tools for package owners.