Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ LOG_LEVEL=info
MAX_REQUEST_BODY_BYTES=2097152
MAX_INPUT_CHARS=200000

# 最近处理日志保留条数:10-100,默认并建议保持 100;仅保存在当前进程内存
LOG_CAPACITY=100

# 上游 HTTP 连接池;通常无需修改
HTTP_MAX_CONNECTIONS=200
HTTP_MAX_KEEPALIVE=50

# 也可以通过环境变量提供首次启动默认值;网页保存后以 /data/config.json 为准
# UPSTREAM_BASE_URL=https://api.example.com/v1
# UPSTREAM_API_KEY=sk-xxxxxxxx
Expand Down
Loading
Loading