GoToSocial/internal/cache
kim f79d50b9b2
[performance] cached oauth database types (#2838)
* update token + client code to use struct caches

* add code comments

* slight tweak to default mem ratios

* fix envparsing

* add appropriate invalidate hooks

* update the tokenstore sweeping function to rely on caches

* update to use PutClient()

* add ClientID to list of token struct indices
2024-04-15 14:22:21 +01:00
..
domain [bugfix] fix higher-level explicit domain rules causing issues with lower-level domain blocking (#2513) 2024-01-09 13:12:43 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
cache.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
db.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
invalidate.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
size.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
util.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
visibility.go [chore] bump go structr cache version -> v0.6.0 (#2773) 2024-04-02 12:03:40 +02:00
wrappers.go [chore] bump go structr cache version -> v0.6.0 (#2773) 2024-04-02 12:03:40 +02:00