mirror of https://github.com/milvus-io/milvus.git
parent
c65bb0d3c6
commit
c5d91af794
|
@ -452,7 +452,6 @@ func (mr *MilvusRoles) Run(localMsg bool, alias string) {
|
|||
}
|
||||
|
||||
metrics.ServeHTTP()
|
||||
|
||||
sc := make(chan os.Signal, 1)
|
||||
signal.Notify(sc,
|
||||
syscall.SIGHUP,
|
||||
|
|
|
@ -19,6 +19,9 @@ package metrics
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
// nolint:gosec
|
||||
_ "net/http/pprof"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/log"
|
||||
"github.com/milvus-io/milvus/internal/util/typeutil"
|
||||
|
||||
|
|
Loading…
Reference in New Issue