fix: remove the concurrent limits for streaming service (#41484)

issue: #41479

Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
Zhen Ye 2025-04-24 20:36:38 +08:00 committed by GitHub
parent 9de0c84576
commit a3d621cb5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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),
}
}

View File

@ -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()),