Remove recalculation on new index

This commit is contained in:
Samir Patel 2021-05-28 18:49:27 -05:00 committed by Samir Patel
parent 4ac7f6e154
commit 81413c4f0a

1
api.go
View file

@ -234,7 +234,6 @@ func (api *API) CreateIndex(ctx context.Context, indexName string, options Index
return nil, errors.Wrap(err, "creating index")
}
api.ResetUsageCache()
api.holder.Stats.Count(MetricCreateIndex, 1, 1.0)
return index, nil
}