From a356cd042558d4206917f843809fdf22e9fcf990 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 21 Apr 2022 12:19:39 -0500 Subject: Decrease example cards weight to prevent overflow when used with CD --- examples/gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gen.go b/examples/gen.go index f7e9da9..011634b 100644 --- a/examples/gen.go +++ b/examples/gen.go @@ -55,7 +55,7 @@ func main() { fmt.Println(val) } - _, err = db.Exec("INSERT INTO cards VALUES(?, ?, ?, ?)", i, 1<<(30-i/50), key, val) + _, err = db.Exec("INSERT INTO cards VALUES(?, ?, ?, ?)", i, 1<<(20-i/50), key, val) i++ } } -- cgit v1.2.3-70-g09d2