mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip e2e]Fix compaction executor typo (#13646)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
This commit is contained in:
parent
c7513bb1ad
commit
fefeaa2e1d
@ -28,7 +28,7 @@ const (
|
||||
maxTaskNum = 1024
|
||||
)
|
||||
|
||||
var maxParallelCompactionNum = calculeateParallel()
|
||||
var maxParallelCompactionNum = calculateParallel()
|
||||
|
||||
type compactionExecutor struct {
|
||||
parallelCh chan struct{}
|
||||
@ -38,7 +38,7 @@ type compactionExecutor struct {
|
||||
}
|
||||
|
||||
// 0.5*min(8, NumCPU/2)
|
||||
func calculeateParallel() int {
|
||||
func calculateParallel() int {
|
||||
return 2
|
||||
//cores := runtime.NumCPU()
|
||||
//if cores < 16 {
|
||||
|
Loading…
Reference in New Issue
Block a user