Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
z1nc0r3 authored Feb 12, 2024
1 parent e0bd256 commit 25244c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def fuzzy_search(query):
with sqlite3.connect(Unicoder.DB_PATH) as conn:
conn.row_factory = sqlite3.Row
c = conn.cursor()
# running a fuzzy search with a limit of 40 results to avoid performance issues
# running a fuzzy search with a limit of 30 results to avoid performance issues
c.execute(
"SELECT * FROM characters WHERE name LIKE ? LIMIT ?",
("%" + query + "%", 30),
Expand Down

0 comments on commit 25244c6

Please sign in to comment.