MCPcopy Create free account
hub / github.com/deepflowio/deepflow / TryRefresh

Method TryRefresh

server/controller/recorder/cache/cache.go:197–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195}
196
197func (c *Cache) TryRefresh() bool {
198 select {
199 case <-c.RefreshSignal:
200 c.Refresh()
201 return true
202 default:
203 log.Warning("last cache refresh not completed now", c.metadata.LogPrefixes)
204 return false
205 }
206
207}
208
209func (c *Cache) triggerTagrecorderHealers() {
210 if c.needTagSelfHealing() {

Callers 1

StartSelfHealingMethod · 0.95

Calls 2

RefreshMethod · 0.95
WarningMethod · 0.45

Tested by

no test coverage detected