()
| 195 | } |
| 196 | |
| 197 | func (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 | |
| 209 | func (c *Cache) triggerTagrecorderHealers() { |
| 210 | if c.needTagSelfHealing() { |
no test coverage detected