diff options
author | Anthony Wang | 2022-04-21 12:19:39 -0500 |
---|---|---|
committer | Anthony Wang | 2022-04-21 12:19:39 -0500 |
commit | a356cd042558d4206917f843809fdf22e9fcf990 (patch) | |
tree | acd255ea2a71f9af4161c6112cd78cf0f3d8eedf | |
parent | aa1f53c83e4fbccde7f21555a9e5230a8652309a (diff) |
Decrease example cards weight to prevent overflow when used with CD
-rw-r--r-- | examples/gen.go | 2 |
1 files changed, 1 insertions, 1 deletions
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++ } } |