setCacheSize change the maximum number of loaded bugs
(size int)
| 153 | |
| 154 | // setCacheSize change the maximum number of loaded bugs |
| 155 | func (c *RepoCache) setCacheSize(size int) { |
| 156 | for _, subcache := range c.subcaches { |
| 157 | subcache.SetCacheSize(size) |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // load will try to read from the disk all the cache files |
| 162 | func (c *RepoCache) load() error { |