Skip to content

Commit

Permalink
Fix job scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kropachev committed Apr 25, 2023
1 parent 823ead2 commit 0140acb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/gemini/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ func job(
UseLWT: schemaConfig.UseLWT,
}

for j, table := range schema.Tables {
for j := range schema.Tables {
gen := generators[j]
table := schema.Tables[j]
for i := 0; i < int(actors); i++ {
r := rand.New(rand.NewSource(seed))
g.Go(func() error {
Expand Down

0 comments on commit 0140acb

Please sign in to comment.