mirror of
https://github.com/status-im/infra-utils.git
synced 2025-02-22 17:08:25 +00:00
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…
x
Reference in New Issue
Block a user