Skip to content

Commit

Permalink
Remove TotalNormalizeFlows
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Dec 12, 2023
1 parent b12149a commit 8ba3aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 3 additions & 4 deletions flow/cmd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,9 @@ func (h *FlowRequestHandler) CreateCDCFlow(
}

limits := &peerflow.CDCFlowLimits{
TotalSyncFlows: 0,
ExitAfterRecords: -1,
TotalNormalizeFlows: 0,
MaxBatchSize: maxBatchSize,
TotalSyncFlows: 0,
ExitAfterRecords: -1,
MaxBatchSize: maxBatchSize,
}

if req.ConnectionConfigs.SoftDeleteColName == "" {
Expand Down
4 changes: 0 additions & 4 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ type CDCFlowLimits struct {
// If 0, the number of sync flows will be continuously executed until the peer flow is cancelled.
// This is typically non-zero for testing purposes.
TotalSyncFlows int
// Number of normalize flows to execute in total.
// If 0, the number of sync flows will be continuously executed until the peer flow is cancelled.
// This is typically non-zero for testing purposes.
TotalNormalizeFlows int
// Maximum number of rows in a sync flow batch.
MaxBatchSize int
// Rows synced after which we can say a test is done.
Expand Down

0 comments on commit 8ba3aba

Please sign in to comment.