From 7252c96dab7693493ab347cb18e53d496cdc34d5 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Mon, 8 Dec 2025 16:11:13 -0700 Subject: [PATCH] fix --- cmd/pg-fill/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pg-fill/main.go b/cmd/pg-fill/main.go index 1b664ce..204e697 100644 --- a/cmd/pg-fill/main.go +++ b/cmd/pg-fill/main.go @@ -54,7 +54,7 @@ func run(ctx context.Context) error { // https://gist.github.com/ololobus/5b25c432f208d7eb31051a5f238dffff // 2e6=1GB, so 2e6/8=12MB - for i := presently(); i < (*n)/12; i++ { + for i := presently() / 12; i < (*n)/12; i++ { for ctx.Err() == nil { if _, err := pg.ExecContext(ctx, ` INSERT INTO fill_with_data (x, y, z)