mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: remove the concurrent limits for streaming service (#41484)
issue: #41479 Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
parent
9de0c84576
commit
a3d621cb5e
@ -41,8 +41,8 @@ func newWALAccesser(c *clientv3.Client) *walAccesserImpl {
|
||||
producers: make(map[string]*producer.ResumableProducer),
|
||||
|
||||
// TODO: optimize the pool size, use the streaming api but not goroutines.
|
||||
appendExecutionPool: conc.NewPool[struct{}](10),
|
||||
dispatchExecutionPool: conc.NewPool[struct{}](10),
|
||||
appendExecutionPool: conc.NewPool[struct{}](0),
|
||||
dispatchExecutionPool: conc.NewPool[struct{}](0),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -62,8 +62,8 @@ func adaptImplsToWAL(
|
||||
wal := &walAdaptorImpl{
|
||||
roWALAdaptorImpl: roWAL,
|
||||
rwWALImpls: basicWAL,
|
||||
// TODO: make the pool size configurable.
|
||||
appendExecutionPool: conc.NewPool[struct{}](10),
|
||||
// TODO: remove the pool, use a queue instead.
|
||||
appendExecutionPool: conc.NewPool[struct{}](0),
|
||||
param: param,
|
||||
interceptorBuildResult: buildInterceptor(builders, param),
|
||||
writeMetrics: metricsutil.NewWriteMetrics(basicWAL.Channel(), basicWAL.WALName()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user