mirror of
1
Fork 0
gotosocial/internal/processing/admin
kim d68c04a6c0
[performance] cache recently allowed/denied domains to cut down on db calls (#794)
* fetch creation and fetching domain blocks from db

Signed-off-by: kim <grufwub@gmail.com>

* add separate domainblock cache type, handle removing block from cache on delete

Signed-off-by: kim <grufwub@gmail.com>

* fix sentinel nil values being passed into cache

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-09-02 12:17:46 +02:00
..
accountaction.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
createdomainblock.go [performance] cache recently allowed/denied domains to cut down on db calls (#794) 2022-09-02 12:17:46 +02:00
deletedomainblock.go [performance] cache recently allowed/denied domains to cut down on db calls (#794) 2022-09-02 12:17:46 +02:00
emoji.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
getdomainblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getdomainblocks.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
importdomainblocks.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
mediaprune.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00