Skip to content

Commit ff0c25a

Browse files
committed
docs: 更新文档
1 parent 0a9d54d commit ff0c25a

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

docs/admin/webui.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ VNC 显示功能需要服务以 Xvfb + VNC 模式运行。
6363

6464
### 实例管理
6565

66-
管理浏览器实例和 Worker 配置(需要重启生效)。
66+
- 批量管理实例代理和删除
67+
- 管理浏览器实例和 Worker 配置
68+
69+
> 均需要重启生效
6770
6871
## 快捷操作
6972

docs/config/overview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ backend:
2626
failover:
2727
enabled: true
2828
maxRetries: 2
29+
imgDlRetry: false
30+
imgDlRetryMaxRetries: 2
31+
waitTimeout: 120000
2932
instances:
3033
- name: "browser_default"
3134
workers:
@@ -156,6 +159,9 @@ browser:
156159
| `strategy` | string | `least_busy` | 负载均衡策略,可选:`least_busy` |
157160
| `failover.enabled` | boolean | `true` | 是否启用故障自动转移 |
158161
| `failover.maxRetries` | number | `2` | 故障转移最大重试次数 |
162+
| `failover.imgDlRetry` | boolean | `false` | 图片下载重试,启用后,图片/视频下载失败时会自动重试下载(不重新生成) |
163+
| `failover.imgDlRetryMaxRetries` | number | `2` | 下载重试次数,图片下载失败时的最大重试次数,范围 1-10 |
164+
| `waitTimeout` | number | `120000` | 生成等待时间,程序等待生成结果返回的最大超时时间,单位毫秒 |
159165
| `instances` | array | - | 浏览器实例列表,详见 [实例配置](/config/instances) |
160166

161167
### 适配器配置 (backend.adapter)

docs/en/admin/webui.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ The VNC display feature requires the service to be running in Xvfb + VNC mode.
6767

6868
### Instance Management
6969

70-
Manage browser instance and Worker configurations (requires a restart to take effect).
70+
- Batch manage instance proxies and deletions
71+
- Manage browser instance and Worker configurations
72+
73+
> Requires a restart to take effect
7174
7275
## Quick Actions
7376

docs/en/config/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ Performance optimization options for CPU-Only environments. Reduces CPU load by
160160
| `strategy` | string | `least_busy` | Load balancing strategy. Option: `least_busy`. |
161161
| `failover.enabled` | boolean | `true` | Whether to enable automatic failover. |
162162
| `failover.maxRetries` | number | `2` | Maximum retry attempts for failover. |
163+
| `failover.imgDlRetry` | boolean | `false` | Image download retry. When enabled, automatically retries downloading the image/video upon failure (without regenerating). |
164+
| `failover.imgDlRetryMaxRetries` | number | `2` | Download retry count. The maximum number of retry attempts when an image download fails, range 1-10. |
165+
| `waitTimeout` | number | `120000` | Generation wait time. The maximum timeout in milliseconds the program waits for the generation result to return. |
163166
| `instances` | array | - | List of browser instances. See [Instances Configuration](/en/config/instances). |
164167

165168
### Adapter Configuration (backend.adapter)

0 commit comments

Comments
 (0)