removeHot removes all locations pointing to the hot cache.
()
| 61 | |
| 62 | // removeHot removes all locations pointing to the hot cache. |
| 63 | func (m *locationMap) removeHot() { |
| 64 | for key, loc := range m.m { |
| 65 | if loc.isHot() { |
| 66 | delete(m.m, key) |
| 67 | } |
| 68 | } |
| 69 | } |