Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
30
func
newRecommendations() *recommendations {
31
return
&recommendations{
32
timeline: make(
map
[time.Time]int32),
33
}
34
}
35
36
func
(r *recommendations) add(rec int32) {
37
r.mux.Lock()
Callers
1
autoscaleFn
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected