From 48c436828275efa16a476448a2fcc6cc8d3c338a Mon Sep 17 00:00:00 2001 From: medcl Date: Sat, 22 Oct 2022 23:46:51 +0800 Subject: [PATCH] enable system monitoring by default --- plugin/setup/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/setup/setup.go b/plugin/setup/setup.go index 961f2926..c39c1da0 100644 --- a/plugin/setup/setup.go +++ b/plugin/setup/setup.go @@ -327,6 +327,7 @@ func (module *Module) initialize(w http.ResponseWriter, r *http.Request, ps http } cfg.Reserved=true + cfg.Monitored=true //处理ORM handler := elastic2.ElasticORM{Client: client, Config:cfg1 }