esclean: fix retry
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e0194ef67c
commit
a647b307e9
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue