This commit is contained in:
Bel LaPointe
2025-12-08 16:11:13 -07:00
parent bb75883800
commit 7252c96dab

View File

@@ -54,7 +54,7 @@ func run(ctx context.Context) error {
// https://gist.github.com/ololobus/5b25c432f208d7eb31051a5f238dffff // https://gist.github.com/ololobus/5b25c432f208d7eb31051a5f238dffff
// 2e6=1GB, so 2e6/8=12MB // 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 { for ctx.Err() == nil {
if _, err := pg.ExecContext(ctx, ` if _, err := pg.ExecContext(ctx, `
INSERT INTO fill_with_data (x, y, z) INSERT INTO fill_with_data (x, y, z)