MCPcopy
hub / github.com/cortexlabs/cortex / newRecommendations

Function newRecommendations

pkg/autoscaler/recommendations.go:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func newRecommendations() *recommendations {
31 return &recommendations{
32 timeline: make(map[time.Time]int32),
33 }
34}
35
36func (r *recommendations) add(rec int32) {
37 r.mux.Lock()

Callers 1

autoscaleFnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected