Skip to content

Commit

Permalink
make # blocks to insert predictable
Browse files Browse the repository at this point in the history
  • Loading branch information
wiggin77 committed Jun 7, 2022
1 parent 56f21c9 commit 8b4c140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func runUser(username string, ri *runInfo) (stats, error) {

for j := 0; j < ri.cfg.CardsPerBoard; j++ {
card := makeCard(makerInfo, board.ID)
content := makeContent(makerInfo, pickRandomInt(1, 7), board.ID, card.ID)
content := makeContent(makerInfo, ri.cfg.GetMaxParagraphs(), board.ID, card.ID)
card.Fields = makeCardFields(makerInfo, content)

cardBlocks := make([]*fb_model.Block, 0, len(content)+1)
Expand Down

0 comments on commit 8b4c140

Please sign in to comment.