File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1+ # 全局日志级别
2+ # 可选: trace/debug/info/warn/error
3+ loglevel = info
4+
15[bot]
26# Telegram Bot Token (从 @BotFather 获取)
37token = YOUR_BOT_TOKEN_HERE
@@ -55,26 +59,22 @@ max_concurrent = 3
5559
5660[upload]
5761# 上传客户端复用请求次数 (v1.1.14+)
58- # 0 表示不复用 (v1.1.13 默认行为)
59- client_reuse_requests = 0
62+ # 推荐值: 10
63+ client_reuse_requests = 10
6064
6165# 上传连接池每主机最大空闲连接数 (v1.1.14+)
62- # 0 表示不保留空闲连接 (v1.1.13 默认行为)
63- pool_max_idle_per_host = 0
66+ # 推荐值: 1
67+ pool_max_idle_per_host = 1
6468
6569# 上传连接池空闲超时秒数 (v1.1.14+)
66- # 0 表示不设置 idle timeout (v1.1.13 默认行为)
67- pool_idle_timeout_secs = 0
70+ # 推荐值: 60
71+ pool_idle_timeout_secs = 60
6872
6973# 上传诊断日志级别 (v1.1.15+)
7074# 可选: NONE/ERROR/WARNING/INFO/DEBUG (不区分大小写, WARN=WARNING)
7175# 注意: 仍受全局 loglevel 影响 (loglevel=info 时 DEBUG 不会显示)
7276log_level = INFO
7377
74- # 性能排查 A/B 建议 (可选, 测试后恢复为 0):
75- # client_reuse_requests = 10
76- # pool_max_idle_per_host = 1
77-
7878# 上传超时时间 (秒)
7979timeout_secs = 300
8080
You can’t perform that action at this time.
0 commit comments