gotosocial/testrig
kim faed35c938 [performance] cache mute check results (#4202)
This separates our the user mute handling from the typeconverter code, and creates a new "mutes" filter type (in a similar vein to the visibility filter) subpkg with its own result cache. This is a heavy mix of both chore given that mute calculation shouldn't have been handled in the conversion to frontend API types, and a performance bonus since we don't need to load and calculate so many things each time, just the single result each time with all necessary invalidation handled by database cache hooks.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4202
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-05-31 17:30:57 +02:00
..
media [feature] Allow user to choose "gallery" style layout for web view of profile (#3917) 2025-03-26 15:59:39 +00:00
config.go [feature] update proof-of-work to allow setting required rounds (#4186) 2025-05-26 11:57:50 +02:00
db.go [chore] migration to update statuses.thread_id to be notnull (#4160) 2025-05-26 15:33:42 +02:00
email.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
federatingdb.go [chore] various federatingdb tweaks (#4178) 2025-05-15 09:40:48 +00:00
federator.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
gin.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
log.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
mediahandler.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
oauthserver.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
processor.go [performance] cache mute check results (#4202) 2025-05-31 17:30:57 +02:00
router.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
storage.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
testmodels.go [chore] migration to update statuses.thread_id to be notnull (#4160) 2025-05-26 15:33:42 +02:00
teststructs.go [performance] cache mute check results (#4202) 2025-05-31 17:30:57 +02:00
transportcontroller.go [chore] various federatingdb tweaks (#4178) 2025-05-15 09:40:48 +00:00
util.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
webpush.go [performance] cache mute check results (#4202) 2025-05-31 17:30:57 +02:00