mobilerunnerlifecycle

package
v1.334.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MonitorIntervalEnv  = "MOBILE_RUNNER_LIFECYCLE_MONITOR_INTERVAL"
	HeartbeatTimeoutEnv = "MOBILE_RUNNER_LIFECYCLE_HEARTBEAT_TIMEOUT"
	ShutdownAfterEnv    = "MOBILE_RUNNER_LIFECYCLE_SHUTDOWN_AFTER"
)
View Source
const (
	DefaultMonitorInterval  = 30 * time.Second
	DefaultHeartbeatTimeout = time.Hour
	DefaultShutdownAfter    = 7 * 24 * time.Hour
)

Variables

This section is empty.

Functions

func EligibleForWorkerStart

func EligibleForWorkerStart(record *core.Record) bool

EligibleForWorkerStart reports whether a mobile runner record should receive worker-manager starts.

Disabled runners are administratively excluded, and offline runners cannot answer the runner HTTP contract, so starting a worker manager for them only burns activity retries. A runner registers its own workers for every visible namespace when it boots (credimi-runner StartExistingWorkers), and the mobile_runners update hook covers runners that become enabled or come back online without restarting.

func HeartbeatTimeout

func HeartbeatTimeout() time.Duration

func MonitorInterval

func MonitorInterval() time.Duration

func ShutdownAfter

func ShutdownAfter() time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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