gotosocial/internal/api/s2s/user
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
..
common.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
followers.go return after redirects to web representation (#755) 2022-08-16 19:50:26 +01:00
following.go return after redirects to web representation (#755) 2022-08-16 19:50:26 +01:00
inboxpost.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
inboxpost_test.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
outboxget.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
outboxget_test.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
publickeyget.go return after redirects to web representation (#755) 2022-08-16 19:50:26 +01:00
repliesget.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
repliesget_test.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
statusget.go return after redirects to web representation (#755) 2022-08-16 19:50:26 +01:00
statusget_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user_test.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
userget.go return after redirects to web representation (#755) 2022-08-16 19:50:26 +01:00
userget_test.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00