From 8b4c140cbc691768a82661b95ca4a19f6d28cf1b Mon Sep 17 00:00:00 2001 From: wiggin77 Date: Tue, 7 Jun 2022 14:16:51 -0400 Subject: [PATCH] make # blocks to insert predictable --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 5496611..7c158ad 100644 --- a/user.go +++ b/user.go @@ -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)