From 6738fd5bb0193daf3e2b524105ff690e8bfc32f4 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:43:27 +0000 Subject: [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 --- internal/db/bundb/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/bundb/user.go') diff --git a/internal/db/bundb/user.go b/internal/db/bundb/user.go index a6fa142f2..2854c0caa 100644 --- a/internal/db/bundb/user.go +++ b/internal/db/bundb/user.go @@ -31,7 +31,7 @@ import ( ) type userDB struct { - db *DB + db *bun.DB state *state.State } -- cgit v1.2.3