diff options
Diffstat (limited to 'internal/cache/size.go')
-rw-r--r-- | internal/cache/size.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/cache/size.go b/internal/cache/size.go index 9c1a82abc..5bd99c3d8 100644 --- a/internal/cache/size.go +++ b/internal/cache/size.go @@ -264,6 +264,17 @@ func sizeofAccountSettings() uintptr { })) } +func sizeofAccountStats() uintptr { + return uintptr(size.Of(>smodel.AccountStats{ + AccountID: exampleID, + FollowersCount: util.Ptr(100), + FollowingCount: util.Ptr(100), + StatusesCount: util.Ptr(100), + StatusesPinnedCount: util.Ptr(100), + LastStatusAt: exampleTime, + })) +} + func sizeofApplication() uintptr { return uintptr(size.Of(>smodel.Application{ ID: exampleID, |