From 21edc711ba882813e6818dcb8bf9b70d5b7fb0a5 Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sun, 26 Jan 2025 11:06:21 -0700 Subject: [PATCH] I'm dumb --- rootfs/webapp/acarshub_database.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rootfs/webapp/acarshub_database.py b/rootfs/webapp/acarshub_database.py index 86bad3c0..97c7ee00 100755 --- a/rootfs/webapp/acarshub_database.py +++ b/rootfs/webapp/acarshub_database.py @@ -1225,10 +1225,6 @@ def prune_database(): ) acarshub_logging.log("Pruned %s messages" % result, "database") - acarshub_logging.log("Optimizing database", "database") - session.execute( - text("insert into messages_fts(messages_fts) values('optimize')") - ) session.commit() except Exception as e: