refactor: use more random tags

This commit is contained in:
Daylin Morgan 2023-11-25 13:00:10 -06:00
parent b5dfc04040
commit f5b3671757
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ proc selectRandomTags*(ctx: Context): seq[kstring] =
for tag, cnt in tagCounts:
if cnt > 3: tags.add tag
while result.len < 5:
while result.len < 10:
let tag = tags.sample()
if tag notin result:
result.add tag