Skip to content

Commit

Permalink
Merge pull request #875 from anjalyv/version-2
Browse files Browse the repository at this point in the history
receiving mlserver request timeout from env variable
  • Loading branch information
anjalyv authored Oct 10, 2024
2 parents dd38aa7 + 3272034 commit 97fe19e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,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}
Expand Down Expand Up @@ -436,7 +436,7 @@ services:
- VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3}
- 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}
- VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True}
- 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
Expand Down
4 changes: 2 additions & 2 deletions docker/docker-compose-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ services:
- VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3}
- 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_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000}
Expand Down Expand Up @@ -430,7 +430,7 @@ services:
- VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3}
- 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:
Expand Down

0 comments on commit 97fe19e

Please sign in to comment.