Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup insert command #2609

Merged
merged 9 commits into from
May 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
noisersup committed May 11, 2023
commit 8fa8c9ce7bcabc2e01390fbe03c4861a10e67caa
1 change: 0 additions & 1 deletion internal/handlers/pg/msg_insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func insertMany(ctx context.Context, dbPool *pgdb.Pool, qp *pgdb.QueryParams, do
}
return nil
})

// if transaction fails with err
// try inserting one document at a time
if err != nil {
Expand Down