Skip to content

Commit

Permalink
Fixed token balance recalc migration
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanSerikov committed Jan 29, 2021
1 parent 2933a8a commit 10a88ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/elastic/core/elastic.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ func (e *Elastic) deleteByQuery(indices []string, query map[string]interface{})
options := []func(*esapi.DeleteByQueryRequest){
e.DeleteByQuery.WithContext(context.Background()),
e.DeleteByQuery.WithConflicts("proceed"),
e.DeleteByQuery.WithWaitForCompletion(true),
}
resp, err := e.DeleteByQuery(
indices,
Expand Down

0 comments on commit 10a88ec

Please sign in to comment.