Retry for chroma timeout
This commit is contained in:
@@ -25,13 +25,13 @@ spec:
|
|||||||
value: '300'
|
value: '300'
|
||||||
|
|
||||||
- name: AZURE_REQUEST_CONNECT_TIMEOUT
|
- name: AZURE_REQUEST_CONNECT_TIMEOUT
|
||||||
value: '300000'
|
value: '10000'
|
||||||
- name: AZURE_REQUEST_WRITE_TIMEOUT
|
- name: AZURE_REQUEST_WRITE_TIMEOUT
|
||||||
value: '300000'
|
value: '10000'
|
||||||
- name: AZURE_REQUEST_RESPONSE_TIMEOUT
|
- name: AZURE_REQUEST_RESPONSE_TIMEOUT
|
||||||
value: '300000'
|
value: '20000'
|
||||||
- name: AZURE_REQUEST_READ_TIMEOUT
|
- name: AZURE_REQUEST_READ_TIMEOUT
|
||||||
value: '300000'
|
value: '20000'
|
||||||
- name: FILE_UPLOAD_DIR
|
- name: FILE_UPLOAD_DIR
|
||||||
value: /mnt/hermione_storage/hermione/file_input_scenarios/
|
value: /mnt/hermione_storage/hermione/file_input_scenarios/
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ eureka.instance.preferIpAddress: true
|
|||||||
|
|
||||||
hermione.fe.url = http://localhost:5173
|
hermione.fe.url = http://localhost:5173
|
||||||
|
|
||||||
spring.ai.vectorstore.chroma.client.host=http://128.251.239.194
|
spring.ai.vectorstore.chroma.client.host=http://108.142.36.18
|
||||||
spring.ai.vectorstore.chroma.client.port=8000
|
spring.ai.vectorstore.chroma.client.port=80
|
||||||
spring.ai.vectorstore.chroma.client.key-token=BxZWXFXC4UMSxamf5xP5SioGIg3FPfP7
|
spring.ai.vectorstore.chroma.client.key-token=BxZWXFXC4UMSxamf5xP5SioGIg3FPfP7
|
||||||
spring.ai.vectorstore.chroma.initialize-schema=true
|
spring.ai.vectorstore.chroma.initialize-schema=true
|
||||||
spring.ai.vectorstore.chroma.collection-name=olympus
|
spring.ai.vectorstore.chroma.collection-name=olympus
|
||||||
@@ -66,6 +66,7 @@ spring.servlet.multipart.max-file-size=20MB
|
|||||||
spring.servlet.multipart.max-request-size=20MB
|
spring.servlet.multipart.max-request-size=20MB
|
||||||
|
|
||||||
file.upload-dir=/mnt/hermione_storage/documents/file_input_scenarios/
|
file.upload-dir=/mnt/hermione_storage/documents/file_input_scenarios/
|
||||||
|
# file.upload-dir=C:\\mnt\\hermione_storage\\documents\\file_input_scenarios\\
|
||||||
|
|
||||||
|
|
||||||
generic-file-parser-module.url=http://generic-file-parser-module-service.olympus.svc.cluster.local:8080
|
generic-file-parser-module.url=http://generic-file-parser-module-service.olympus.svc.cluster.local:8080
|
||||||
@@ -76,3 +77,13 @@ jsp-parser-module.url: http://jsp-parser-module-service.olympus.svc.cluster.loca
|
|||||||
|
|
||||||
|
|
||||||
spring.security.oauth2.resourceserver.jwt.issuer-uri= https://sts.windows.net/e0793d39-0939-496d-b129-198edd916feb/
|
spring.security.oauth2.resourceserver.jwt.issuer-uri= https://sts.windows.net/e0793d39-0939-496d-b129-198edd916feb/
|
||||||
|
|
||||||
|
# ------------------------------
|
||||||
|
# SPRING AI RETRY / TIMEOUTS
|
||||||
|
# ------------------------------
|
||||||
|
spring.ai.retry.max-attempts=3
|
||||||
|
spring.ai.retry.backoff=2000 # 2 seconds
|
||||||
|
|
||||||
|
# Timeout for HTTP clients used by Spring AI / Chroma
|
||||||
|
spring.ai.vectorstore.http.connect-timeout=10000 # 10 seconds
|
||||||
|
spring.ai.vectorstore.http.read-timeout=20000 # 20 seconds
|
||||||
Reference in New Issue
Block a user