Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ setConfig
Method
setConfig
pkg/util/runtimeconfig/manager.go:208–212 ·
view source on GitHub ↗
(config any)
Source
from the content-addressed store, hash-verified
206
}
207
208
func
(om *Manager) setConfig(config any) {
209
om.configMtx.Lock()
210
defer
om.configMtx.Unlock()
211
om.config = config
212
}
213
214
func
(om *Manager) callListeners(newValue any) {
215
om.listenersMtx.Lock()
Callers
1
loadConfig
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected