[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

@ -460,6 +460,19 @@ func sizeofMention() uintptr {
}))
}
func sizeofMove() uintptr {
return uintptr(size.Of(&gtsmodel.Move{
ID: exampleID,
CreatedAt: exampleTime,
UpdatedAt: exampleTime,
AttemptedAt: exampleTime,
SucceededAt: exampleTime,
OriginURI: exampleURI,
TargetURI: exampleURI,
URI: exampleURI,
}))
}
func sizeofNotification() uintptr {
return uintptr(size.Of(&gtsmodel.Notification{
ID: exampleID,