mirror of https://github.com/milvus-io/milvus.git
Reset the msgstream threshold to PulsarMaxMessageSize (#10186)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/10578/head
parent
e4909c1c0b
commit
c3cce20413
|
@ -906,8 +906,7 @@ func (it *insertTask) _assignSegmentID(stream msgstream.MsgStream, pack *msgstre
|
|||
return 0
|
||||
}
|
||||
|
||||
factor := 10
|
||||
threshold := Params.PulsarMaxMessageSize / factor
|
||||
threshold := Params.PulsarMaxMessageSize
|
||||
log.Debug("Proxy", zap.Int("threshold of message size: ", threshold))
|
||||
// not accurate
|
||||
/* #nosec G103 */
|
||||
|
|
Loading…
Reference in New Issue