[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:
tobi 2024-03-06 11:18:57 +01:00 committed by GitHub
commit b22e213e15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 671 additions and 1 deletions

View file

@ -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: &notificationDB{
db: db,
state: state,