mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 05:43:17 -06:00
[feature/chore] Add Move database functions + cache (#2647)
* [feature/chore] Add Move database functions + cache * add move mem ratio to envparsing.sh * update comment
This commit is contained in:
parent
61a2b91f45
commit
b22e213e15
17 changed files with 671 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ type DBService struct {
|
|||
db.Marker
|
||||
db.Media
|
||||
db.Mention
|
||||
db.Move
|
||||
db.Notification
|
||||
db.Poll
|
||||
db.Relationship
|
||||
|
|
@ -221,6 +222,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Move: &moveDB{
|
||||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Notification: ¬ificationDB{
|
||||
db: db,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue