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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
factor := 10
|
threshold := Params.PulsarMaxMessageSize
|
||||||
threshold := Params.PulsarMaxMessageSize / factor
|
|
||||||
log.Debug("Proxy", zap.Int("threshold of message size: ", threshold))
|
log.Debug("Proxy", zap.Int("threshold of message size: ", threshold))
|
||||||
// not accurate
|
// not accurate
|
||||||
/* #nosec G103 */
|
/* #nosec G103 */
|
||||||
|
|
Loading…
Reference in New Issue