Skip to content

Commit

Permalink
I'm dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Jan 26, 2025
1 parent 008ae01 commit 21edc71
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rootfs/webapp/acarshub_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 21edc71

Please sign in to comment.