luci: Index | Files

package finalizer

import ""


Package Files


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 21 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.