increase timeout and add retries
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
5f982e0595
commit
9174a62108
|
@ -41,7 +41,8 @@ def main():
|
|||
es = Elasticsearch(
|
||||
[{ 'host': opts.es_host,
|
||||
'port': opts.es_port }],
|
||||
timeout=600
|
||||
timeout=1200,
|
||||
retry_on_timeout=True
|
||||
)
|
||||
|
||||
print('Cluster: {}'.format(es.info().get('cluster_name')))
|
||||
|
|
Loading…
Reference in New Issue