From c1721b2b186d37dc57ef74ec061df9506b784c92 Mon Sep 17 00:00:00 2001 From: anjaly Date: Thu, 10 Oct 2024 12:02:06 +0530 Subject: [PATCH] receiving mlserver request timeout from env variable --- docker/docker-compose-production.yml | 4 ++-- docker/docker-compose-staging.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose-production.yml b/docker/docker-compose-production.yml index 68cfdba3..8b153130 100644 --- a/docker/docker-compose-production.yml +++ b/docker/docker-compose-production.yml @@ -380,7 +380,7 @@ services: - VACHAN_AI_LOGGING_LEVEL=INFO - VACHAN_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} - - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 + - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations - VACHAN_REDIS_PASS=${VACHAN_REDIS_PASS:-vsfrgetd} - VACHAN_AI_DELETION_PERIOD=${VACHAN_AI_DELETION_PERIOD:-14} @@ -433,7 +433,7 @@ services: - VACHAN_POSTGRES_PORT=5432 - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - VACHAN_AI_SERVED_MODEL_URI=${VACHAN_AI_SERVED_MODEL_URI:-http://dov2prodconn.bridgeconn.com:8085/v2/models} - - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 + - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations command: rq worker --url redis://:${VACHAN_REDIS_PASS}@redis:6379 links: diff --git a/docker/docker-compose-staging.yml b/docker/docker-compose-staging.yml index c5ace5a6..554863af 100644 --- a/docker/docker-compose-staging.yml +++ b/docker/docker-compose-staging.yml @@ -380,7 +380,7 @@ services: - VACHAN_AI_LOGGING_LEVEL=INFO - VACHAN_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} - - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 + - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations - VACHAN_REDIS_PASS=${VACHAN_REDIS_PASS:-vsfrgetd} - VACHAN_AI_DELETION_PERIOD=${VACHAN_AI_DELETION_PERIOD:-14} @@ -433,7 +433,7 @@ services: - VACHAN_POSTGRES_PORT=5432 - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - VACHAN_AI_SERVED_MODEL_URI=${VACHAN_AI_SERVED_MODEL_URI:-http://dov2prodconn.bridgeconn.com:8085/v2/models} - - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 + - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations command: rq worker --url redis://:${VACHAN_REDIS_PASS}@redis:6379 links: