From fa2aad825120fe89988d81022abb86ff147f20c5 Mon Sep 17 00:00:00 2001 From: Koen van Eijk Date: Fri, 21 Jun 2024 18:17:08 +0200 Subject: [PATCH] removed limit from query --- openrecall/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrecall/database.py b/openrecall/database.py index ed84182..c4e17dd 100644 --- a/openrecall/database.py +++ b/openrecall/database.py @@ -28,7 +28,7 @@ def get_timestamps() -> List[int]: with sqlite3.connect(db_path) as conn: c = conn.cursor() results = c.execute( - "SELECT timestamp FROM entries ORDER BY timestamp DESC LIMIT 1000" + "SELECT timestamp FROM entries ORDER BY timestamp DESC" ).fetchall() return [result[0] for result in results]