Skip to content

Commit

Permalink
Merge branch 'main' into ui/show-version
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj authored Dec 27, 2023
2 parents e180a76 + f3d1d8e commit 99275a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,10 @@ func CDCFlowWorkflowWithConfig(
c.Receive(ctx, &batchSize)
w.logger.Info("received batch size signal: ", batchSize)
syncFlowOptions.BatchSize = batchSize
cfg.MaxBatchSize = uint32(batchSize)
limits.MaxBatchSize = int(batchSize)
})

batchSizeSelector.AddDefault(func() {
w.logger.Info("no batch size signal received, batch size remains: ",
syncFlowOptions.BatchSize)
Expand Down

0 comments on commit 99275a8

Please sign in to comment.