esclean: fix retry

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-02-19 23:01:36 +01:00
parent e0194ef67c
commit a647b307e9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def print_logs(docs):
log['logsource'], log['message'][:90]
))
retry(ConflictError, tries=3, delay=6000, backoff=6000)
@retry(ConflictError, tries=3, delay=6000, backoff=6000)
def delete_retry(es, index, body):
return es.delete_by_query(index=index, body=body)