Skip to content

Commit

Permalink
change the buffer size to 4 in the msg dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: SimFG <bang.fu@zilliz.com>
  • Loading branch information
SimFG committed Jul 24, 2024
1 parent e6322a3 commit ec20c2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/util/milvus_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ func InitMilvusPkgParam() {
innerParam := paramtable.Get()
_ = innerParam.Save(innerParam.MQCfg.MaxTolerantLag.Key, "5")
_ = innerParam.Save(innerParam.MQCfg.MergeCheckInterval.Key, "2")
_ = innerParam.Save(innerParam.MQCfg.TargetBufSize.Key, "16")
_ = innerParam.Save(innerParam.MQCfg.TargetBufSize.Key, "4")
}
1 change: 1 addition & 0 deletions server/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package metrics

import (
"net/http"
_ "net/http/pprof"

Check failure on line 23 in server/metrics/metrics.go

View workflow job for this annotation

GitHub Actions / lint

G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down

0 comments on commit ec20c2f

Please sign in to comment.