Instead of the pure Go implementation of SQLite, swap in the cgo library from mattn/go-sqlite3. On local testing this cuts the SQL query times in half for the History modal (from 400ms per page to 150ms) and may improve performance in production. |
||
---|---|---|
.. | ||
database.go | ||
direct_messages.go |