mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
fix: Fix ineffective log level setting in ThreadWatcher (#41886)
issue: https://github.com/milvus-io/milvus/issues/41781 Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
142bd2fc05
commit
3f85d376dd
@ -17,7 +17,6 @@
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"sync"
|
||||
"time"
|
||||
@ -56,7 +55,6 @@ func (thw *threadWatcher) Start() {
|
||||
}
|
||||
|
||||
func (thw *threadWatcher) watchThreadNum() {
|
||||
log := log.Ctx(context.TODO())
|
||||
ticker := time.NewTicker(time.Second * 30)
|
||||
defer ticker.Stop()
|
||||
pid := os.Getpid()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user