def init_db(conn):
conn.execute("PRAGMA journal_mode=WAL;")
conn.execute("PRAGMA synchronous=NORMAL;")
conn.execute("""
CREATE INDEX IF NOT EXISTS idx_msg_time
ON messages(timestamp);
""")
conn.execute("""
CREATE INDEX IF NOT EXISTS idx_msg_node
ON messages(node_id);
""")
Full text search (FTS5)
CREATE VIRTUAL TABLE messages_fts USING fts5(content, node_id);
INSERT INTO messages_fts(content, node_id)
SELECT content, node_id FROM messages;
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hello, thanks for this great stuff, may I suggest few things :
improvments :
async management
main loop :
Queue DB :
SQLite optimisation :
Full text search (FTS5)
Auto reconnect Meshtatic :
Cache nodes :
faster Ui :
versus screen.clear(), use :
code.rtf
Would you be able to submit a PR so I can test the changes?