Add depot, attendant, jetfire, optimus, ota services with kustomize overlays
This commit is contained in:
25
services/jetfire/utils/const.go
Normal file
25
services/jetfire/utils/const.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"math"
|
||||
"time"
|
||||
|
||||
"github.com/fiskerinc/cloud-services/pkg/utils/envtool"
|
||||
)
|
||||
|
||||
var (
|
||||
//other cache constants
|
||||
TripTimeout = time.Duration(envtool.GetEnvInt64("JETFIRE_TRIP_TIMEOUT_MS", 600000)) * time.Millisecond
|
||||
|
||||
EmptySignal = math.NaN()
|
||||
|
||||
//bitwise flags for state updates.
|
||||
//Additional flags can be added for additional sink tables later on
|
||||
FeatureUpdateFlag uint = 0x1
|
||||
LatestUpdateFlag uint = 0x2
|
||||
|
||||
MaxVinLength = 20
|
||||
MaxTimestampLength = 12
|
||||
|
||||
FeatureVarsDefaults = "default-feature-vars.json"
|
||||
)
|
||||
Reference in New Issue
Block a user