Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package common contains types and helper functions that are used across the different packages under internal/server/worker.

Index

Constants

View Source
const (
	// StatusInterval is the base duration used in the calculation of the random backoff
	// during the worker status report
	StatusInterval = 2 * time.Second

	// StatusTimeout is the timeout duration on status calls to the controller from
	// the worker
	StatusTimeout = 5 * time.Second
)

In the future we could make this configurable

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL