Skip to content

Commit

Permalink
dispatcher: disable batch
Browse files Browse the repository at this point in the history
Signed-off-by: dongmen <[email protected]>
  • Loading branch information
asddongmen committed Nov 8, 2024
1 parent c46b182 commit 545e0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downstreamadapter/dispatcher/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func GetEventDynamicStream() dynstream.DynamicStream[common.GID, common.Dispatch
if eventDynamicStream == nil {
eventDynamicStreamOnce.Do(func() {
option := dynstream.NewOption()
option.BatchCount = 128
//option.BatchCount = 128
// Enable memory control for dispatcher events dynamic stream.
log.Info("New EventDynamicStream, memory control is enabled")
option.EnableMemoryControl = true
Expand Down

0 comments on commit 545e0fd

Please sign in to comment.