increased timeout for elastic rqeuests up to 30 seconds

This commit is contained in:
2026-06-10 14:13:58 +02:00
parent 0f212d189e
commit abe96098b5
@@ -45,7 +45,7 @@ def search(
}
}
with httpx.Client() as client:
with httpx.Client(timeout=httpx.Timeout(30.0)) as client:
response = client.post(
f"{config.settings.elasticsearch_url}/{index}/_search",
json=payload,