mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 09:37:53 +00:00
feat(k8s): add missing env configs for outbox and timeout
This commit is contained in:
@@ -110,6 +110,12 @@ spec:
|
||||
configMapKeyRef:
|
||||
name: ez-api-config
|
||||
key: EZ_BALANCER_STATS_FLUSH_TIMEOUT_SECONDS
|
||||
# Timeout by Provider
|
||||
- name: EZ_BALANCER_TIMEOUT_BY_PROVIDER
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: ez-api-config
|
||||
key: EZ_BALANCER_TIMEOUT_BY_PROVIDER
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
|
||||
@@ -37,3 +37,5 @@ data:
|
||||
EZ_BALANCER_STATS_FLUSH_INTERVAL_SECONDS: "300"
|
||||
EZ_BALANCER_STATS_FLUSH_BATCH_SIZE: "200"
|
||||
EZ_BALANCER_STATS_FLUSH_TIMEOUT_SECONDS: "5"
|
||||
# 按 provider type 配置非流式请求超时(秒,JSON)
|
||||
EZ_BALANCER_TIMEOUT_BY_PROVIDER: '{"default":30,"openai":40,"compatible":40,"anthropic":50,"claude":50,"google":60}'
|
||||
|
||||
Reference in New Issue
Block a user