diff --git a/global/config.go b/global/config.go index dee67509..6966cd15 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",