common

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 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