limits

package
v0.0.0-...-3e52749 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxBladeID is the highest blade number accepted as valid. This is
	// an arbitrary choice intended to help prevent configuration issues.
	//
	MaxBladeID = int64(10 * 1000 * 1000)

	// MaxPduID defines the larget number of Pdus that can be configured within
	// a single rack.
	//
	MaxPduID = int64(2)

	// MaxTorID defines the larget number of Tors that can be configured within
	// a single rack.
	//
	MaxTorID = int64(2)
)

Variables

View Source
var (
	// BackoffSettings contains the grpc reconnection parameters - how long to
	// wait to retry, how much to extend the retry interval by, and other
	// related values.
	BackoffSettings = grpc.ConnectParams{
		Backoff: backoff.Config{
			BaseDelay:  100 * time.Millisecond,
			Multiplier: 1.6,
			Jitter:     0.2,
			MaxDelay:   5 * time.Second,
		},
		MinConnectTimeout: 0,
	}
)

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