flags

package
v0.0.0-...-c6fe19a Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Test              = flag.Bool("test", false, "Scratch pad, anything")
	Members           = flag.String("members", "", "Initial Redis members, comma-separated, fmt: [passwd@]host:port")
	Partitions        = flag.Int("partitions", 27_103, "Partition count for our consistent hashring")
	ReplicationFactor = flag.Int("replicationfactor", 10, "Replication factor for our consistent hashring")
	Database          = flag.String("db", "", "Spanner database, fmt: projects/{v}/instances/{v}/databases/{v}")
	LockTable         = flag.String("locktable", "jupiter_lock", "Spanner table for spindle lock")
	LockName          = flag.String("lockname", "jupiter", "Lock name for spindle")
	LogTable          = flag.String("logtable", "jupiter_store", "Spanner table for hedge store/log")
	MaxIdle           = flag.Int("maxidle", 3, "Maximum idle connections to jupiter")
	MaxActive         = flag.Int("maxactive", 1_000, "Maximum active connections to jupiter")
)

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