GoToSocial/internal/processing/account
kim 5d55e8d920
[performance] add account block DB cache and remove block query joins (#1085)
* add account block DB cache and remove reliance on relational joins

* actually include cache key arguments...

* add a PutBlock() method which also updates the block cache, update tests accordingly

* use `PutBlock` instead of `Put(ctx, block)`

* add + use functions for deleting + invalidating blocks

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-11-20 16:33:49 +00:00
..
account.go [feature] Make instance thumbnail configurable via admin panel (#973) 2022-11-08 17:11:06 +00:00
account_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
create.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
createblock.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
createfollow.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
delete.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
get.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
getfollowers.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getfollowing.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getrelationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getrss.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
getrss_test.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
getstatuses.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
removeblock.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
removefollow.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
update.go [feature] Support markdown format for Account bio/note (#1037) 2022-11-19 10:07:51 +01:00
update_test.go [feature] Support markdown format for Account bio/note (#1037) 2022-11-19 10:07:51 +01:00