From ac877bde815827f7aa1eeb3a6f0513d4c7503ad0 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 10 Nov 2025 12:36:59 +0100 Subject: [performance] add optional S3 object info caching (#4546) This adds an optional S3 object info cache to the S3 storage driver backend (see [here](https://codeberg.org/gruf/go-storage/releases/tag/v0.4.0)) to reduce S3 calls largely during media cleanup operations, but it should also help in other situations cutting back on S3 calls when for example a key is already known to not exist. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4546 Co-authored-by: kim Co-committed-by: kim --- test/envparsing.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test/envparsing.sh') diff --git a/test/envparsing.sh b/test/envparsing.sh index 206da0d07..e71a87cdc 100755 --- a/test/envparsing.sh +++ b/test/envparsing.sh @@ -67,6 +67,7 @@ EXPECT=$(cat << "EOF" "cache-poll-vote-ids-mem-ratio": 2, "cache-poll-vote-mem-ratio": 2, "cache-report-mem-ratio": 1, + "cache-s3-object-info": 0, "cache-scheduled-status-mem-ratio": 4, "cache-sin-bin-status-mem-ratio": 0.5, "cache-status-bookmark-ids-mem-ratio": 2, -- cgit v1.2.3