From dd03efc9c83e3917d034b6306da94afc25479524 Mon Sep 17 00:00:00 2001 From: Mrs4s <1844812067@qq.com> Date: Sat, 8 Aug 2020 15:06:00 +0800 Subject: [PATCH] update default config. --- global/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/global/config.go b/global/config.go index dee6750..6966cd1 100644 --- a/global/config.go +++ b/global/config.go @@ -60,7 +60,9 @@ type GoCQReverseWebsocketConfig struct { func DefaultConfig() *JsonConfig { return &JsonConfig{ - EnableDB: true, + EnableDB: true, + ReLogin: true, + ReLoginDelay: 3, HttpConfig: &GoCQHttpConfig{ Enabled: true, Host: "0.0.0.0",