mirror of
1
Fork 0
gotosocial/internal/api
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
..
client [chore] reversion: use specific columns for updating user again (#1059) 2022-11-16 11:27:08 +01:00
model [feature] Serialize local account role via API, and show it via web view (#1045) 2022-11-15 10:19:32 +01:00
s2s [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
security [chore] Replace blocking Floc with Topics. (#1068) 2022-11-17 15:04:06 +01:00
apimodule.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
errorhandling.go [bugfix] Fix domains not being unblockable, log internal server errors from API (#833) 2022-09-17 19:12:12 +02:00
mime.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
negotiate.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00