Skip to content

Commit

Permalink
remove pg12 hack
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Feb 28, 2024
1 parent 1924a84 commit 4090853
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions flow/workflows/snapshot_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ func (s *SnapshotFlowExecution) cloneTable(
numRowsPerPartition = s.config.SnapshotNumRowsPerPartition
}

// hack for pg12
numRowsPerPartition = numRowsPerPartition * 20
s.logger.Info("incrementing numRowsPerPartition by 20x for pg12", slog.Int("numRowsPerPartition", int(numRowsPerPartition)))

config := &protos.QRepConfig{
FlowJobName: childWorkflowID,
SourcePeer: sourcePostgres,
Expand Down

0 comments on commit 4090853

Please sign in to comment.