mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature/performance] sqlite pragma optimize on close (#2596)
* wrap database drivers in order to handle error processing, hooks, etc * remove dead code * add code comment, remove unused blank imports
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
)
|
||||
|
||||
type basicDB struct {
|
||||
db *DB
|
||||
db *bun.DB
|
||||
}
|
||||
|
||||
func (b *basicDB) Put(ctx context.Context, i interface{}) error {
|
||||
|
Reference in New Issue
Block a user