gotosocial/internal/db/bundb
tobi 50dc179d33
[feature] Prune timelines once per hour to plug memory leak (#1117)
* export highest/lowest ULIDs as proper const

* add stop + start to timeline manager, other small fixes

* unexport unused interface funcs + tidy up

* add LastGot func

* add timeline Prune function

* test prune

* update lastGot
2022-11-22 18:38:10 +00:00
..
migrations
account.go [chore] improve errors returned fetching account/statues from DB (#1084) 2022-11-20 17:38:58 +01:00
account_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
admin.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
admin_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
basic.go
basic_test.go
bundb.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
bundb_test.go
bundbnew_test.go
conn.go
domain.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
domain_test.go
emoji.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
emoji_test.go
errors.go
hook.go
instance.go
instance_test.go
media.go
media_test.go
mention.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
mention_test.go
notification.go [performance] don't use relations to select notification structs, use caches instead (#1072) 2022-11-18 17:23:14 +01:00
notification_test.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
relationship.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
relationship_test.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
session.go
session_test.go
status.go [chore] improve errors returned fetching account/statues from DB (#1084) 2022-11-20 17:38:58 +01:00
status_test.go
timeline.go
timeline_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
tombstone.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
user.go [chore] reversion: use specific columns for updating user again (#1059) 2022-11-16 11:27:08 +01:00
user_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
util.go