Skip to content

Commit

Permalink
e2pg: increase default batch size to 512
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandotsmith committed Oct 24, 2023
1 parent 8af9350 commit ad967d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2pg/e2pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ func loadTasks(ctx context.Context, pgp *pgxpool.Pool, conf Config) ([]*Task, er
WithSource(src),
WithPG(pgp),
WithRange(sc.Start, sc.Stop),
WithConcurrency(1, 512),
WithDestinations(dests...),
))
}
Expand Down

0 comments on commit ad967d4

Please sign in to comment.