Commit 74198011 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Relaxed elastic timeout to fix #126

parent 08c25ab5
Pipeline #45222 canceled with stages
in 55 seconds
......@@ -89,7 +89,8 @@ def setup_elastic():
""" Creates connection to elastic search. """
global elastic_client
elastic_client = connections.create_connection(
hosts=['%s:%d' % (config.elastic.host, config.elastic.port)])
hosts=['%s:%d' % (config.elastic.host, config.elastic.port)],
timeout=60, max_retries=10, retry_on_timeout=True)
logger.info('setup elastic connection')
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment