gotosocial/internal/db
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
..
bundb [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
account.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
admin.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
basic.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
db.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
domain.go [bugfix] Fix new domain block date (#893) 2022-10-06 12:48:17 +02:00
emoji.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
error.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
instance.go [feature] Implement /api/v1/instance/peers endpoint (#660) 2022-06-23 16:54:54 +02:00
media.go [feature] Cleanup unattached local media (#680) 2022-06-30 12:22:10 +02:00
mention.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
params.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
relationship.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
session.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
timeline.go [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
tombstone.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
user.go [chore] reversion: use specific columns for updating user again (#1059) 2022-11-16 11:27:08 +01:00