From 1c378e54723e787b7e624e07d0645de4222ee1fa Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sat, 22 Mar 2025 18:35:10 +0000 Subject: [PATCH] chore(ollama): add HTTP configuration with local idle timeout to job specification - triggering requests can sometimes take a while to start --- modules/ollama/jobspec.nomad.hcl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ollama/jobspec.nomad.hcl b/modules/ollama/jobspec.nomad.hcl index f7a4b15..f56fd62 100644 --- a/modules/ollama/jobspec.nomad.hcl +++ b/modules/ollama/jobspec.nomad.hcl @@ -56,6 +56,10 @@ job "ollama" { connect { sidecar_service { proxy { + config { + protocol = "http" + local_idle_timeout_ms = 120000 + } expose { path { path = "/metrics"