diff options
author | 2024-02-07 14:43:27 +0000 | |
---|---|---|
committer | 2024-02-07 14:43:27 +0000 | |
commit | 6738fd5bb0193daf3e2b524105ff690e8bfc32f4 (patch) | |
tree | 1c9b84846e21c737746f2a528170ad1d4bfb0a1c /internal/db/bundb/search.go | |
parent | [bugfix] Ensure activities sender always = activities actor (#2608) (diff) | |
download | gotosocial-6738fd5bb0193daf3e2b524105ff690e8bfc32f4.tar.xz |
[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
Diffstat (limited to 'internal/db/bundb/search.go')
-rw-r--r-- | internal/db/bundb/search.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/search.go b/internal/db/bundb/search.go index f9c2df1f8..f8ae529f7 100644 --- a/internal/db/bundb/search.go +++ b/internal/db/bundb/search.go @@ -57,7 +57,7 @@ import ( // This isn't ideal, of course, but at least we could cover the most common use case of // a caller paging down through results. type searchDB struct { - db *DB + db *bun.DB state *state.State } |