From 36932f8b7c0fb3f42e1e86a74315af2e7c932c36 Mon Sep 17 00:00:00 2001 From: Oleh Astappiev Date: Tue, 17 Dec 2024 14:24:17 +0100 Subject: [PATCH] feat: increase timeout for Ollama --- .../OllamaConnector/src/main/resources/application.properties | 2 ++ pom.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/connectors/OllamaConnector/src/main/resources/application.properties b/connectors/OllamaConnector/src/main/resources/application.properties index c79141e9..13f2c8d7 100644 --- a/connectors/OllamaConnector/src/main/resources/application.properties +++ b/connectors/OllamaConnector/src/main/resources/application.properties @@ -1,3 +1,5 @@ # Required properties, recommended to set via environment variables (for tests, create .env in the root of the module) connector.ollama.url= quarkus.rest-client.ollama.url=${connector.ollama.url} +quarkus.rest-client.ollama.connect-timeout=30000 +quarkus.rest-client.ollama.read-timeout=300000 diff --git a/pom.xml b/pom.xml index eb4b1f0c..8bf12e16 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ quarkus-bom io.quarkus.platform - 3.17.3 + 3.17.4 3.5.2 3.5.0