Skip to content

Commit

Permalink
Use adjusted 'UpsertStreamed' from icinga-go-library
Browse files Browse the repository at this point in the history
  • Loading branch information
jrauh01 committed Nov 24, 2023
1 parent 771ef0a commit 089e43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sync/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (ls *LogSync) Run(ctx context.Context) error {
})

g.Go(func() error {
return ls.db.UpsertStreamedWithStatement(ctx, upserts, upsertStmt, 5)
return ls.db.UpsertStreamed(ctx, upserts, database.WithStatement(upsertStmt, 5))
})

return g.Wait()
Expand Down

0 comments on commit 089e43e

Please sign in to comment.