From 7e087f365c1b897d32950423f21ac08b8a04fef7 Mon Sep 17 00:00:00 2001 From: ShinSakura <sakura@iiens.net> Date: Thu, 7 Sep 2023 20:14:24 +0200 Subject: [PATCH] Set search limit to 200 --- common/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/db.js b/common/db.js index b1b2f7b..1ef5f29 100644 --- a/common/db.js +++ b/common/db.js @@ -87,7 +87,7 @@ class KaraDatabase { prefix: term => term.length, fuzzy: term => term.length > 3 ? 0.2 : null, combineWith: 'AND' - }) + }).slice(0,200); return searchResult; } -- GitLab