From df15e4a168773021f75c9f531d4053e7862e2c59 Mon Sep 17 00:00:00 2001 From: ExplodingDragon Date: Sun, 1 Feb 2026 01:10:10 +0800 Subject: [PATCH] docs: update config.yaml with new cache and concurrency settings --- config.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 8618248..016e83f 100644 --- a/config.yaml +++ b/config.yaml @@ -6,7 +6,7 @@ domain: example.com database: # 持久化存储配置 url: "memory://" - # 事件传递配置 +# 事件传递配置 event: url: "memory://" auth: @@ -19,16 +19,27 @@ cache: meta: "memory://" # 元数据缓存时长 meta_ttl: 1m + # 元数据刷新间隔 + meta_refresh: 30s + # 元数据并发刷新限制 + meta_refresh_concurrent: 16 + # 响应数据缓存 blob: "memory://" # 响应数据缓存时长 blob_ttl: 1m # 最大单个响应数据缓存大小 blob_limit: 10MB + # 并发缓存写入限制 + blob_concurrent: 16 + # 404 响应缓存时长 + blob_not_found_ttl: 1h + # 并发后端请求限制 + backend_concurrent: 64 page: # 默认页面分支 default_branch: gh-pages # 默认 404 页面模板 404: /path/to/html.gotmpl # 默认 500 页面模板 - 500: /path/to/html.gotmpl + 500: /path/to/html.gotmpl \ No newline at end of file