GoToSocial/internal/processing
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 [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
admin [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
federation [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
media [bugfix] Wrap media in read closer (#941) 2022-11-03 15:03:12 +01:00
status [bugfix] Check `media-description-min-chars` on submission of new status (#960) 2022-11-05 12:33:38 +00:00
streaming [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
user [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
account.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
account_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
admin.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
app.go
blocks.go
federation.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
followrequest.go
followrequest_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
fromclientapi.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
fromclientapi_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
fromcommon.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
fromfederator.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
fromfederator_test.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
instance.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
media.go
notification.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
notification_test.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
oauth.go [feature] `oob` oauth token support (#889) 2022-10-08 13:49:56 +02:00
processor.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
processor_test.go
search.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
status.go
statustimeline.go [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
streaming.go
user.go
util.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00