exclude local config.toml

This commit is contained in:
snowy-yang committed 2026-09-12 14:20:54 +08:00
1 parent b1ffd86bd9
commit d5e17fedfb
2 files changed
+1 -23

No files matched your search

+1
View File
@@ -8,3 +8,4 @@ wheels/
# Virtual environments
.venv
config.toml
-23
View File
@@ -1,23 +0,0 @@
# 复制为 config.toml 后修改
[server]
# 反向 WebSocket 服务端监听地址
host = "0.0.0.0"
port = 8765
# 与 OneBot 实现端(NapCat/Lagrange等)中配置的 access_token 一致,留空则不校验
access_token = ""
[alert]
# CPU 告警阈值(%)
cpu_threshold = 85.0
# 需要连续超过阈值多少个采样周期才告警
consecutive = 2
# 采样间隔(秒)
interval = 10
# 同一轮高负载期间告警冷却(秒)
cooldown = 600
# TOP N 进程
top_n = 5
# 提醒目标
groups = [123456789]
friends = []