dep. update, set cache in demo_loader
This commit is contained in:
@@ -492,7 +492,8 @@ func (d *DemoMatchLoader) gcWorker(apiKey string, rl ratelimit.Limiter) {
|
||||
|
||||
// clear cache for player
|
||||
for _, p := range players {
|
||||
_ = d.cache.Delete(context.Background(), fmt.Sprintf(utils.SideMetaCacheKey, p.ID))
|
||||
// TODO: cache only real meta stats in only one key
|
||||
_ = d.cache.Delete(context.Background(), fmt.Sprintf(utils.SideMetaCacheKey, p.ID, 4))
|
||||
_ = d.cache.Delete(context.Background(), fmt.Sprintf(utils.MatchMetaCacheKey, p.ID))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user