summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-07-31 11:25:29 +0100
committerLibravatar GitHub <noreply@github.com>2023-07-31 11:25:29 +0100
commited2477ebea4c3ceec5949821f4950db9669a4a15 (patch)
tree1038d7abdfc787ddfc1febb326fd38775b189b85 /test
parent[bugfix/frontend] Decode URI component domain before showing on frontend (#2043) (diff)
downloadgotosocial-ed2477ebea4c3ceec5949821f4950db9669a4a15.tar.xz
[performance] cache follow, follow request and block ID lists (#2027)
Diffstat (limited to 'test')
-rwxr-xr-xtest/envparsing.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/envparsing.sh b/test/envparsing.sh
index 8f4372906..b9017d0be 100755
--- a/test/envparsing.sh
+++ b/test/envparsing.sh
@@ -25,6 +25,9 @@ EXPECT=$(cat <<"EOF"
"account-note-ttl": 1800000000000,
"account-sweep-freq": 1000000000,
"account-ttl": 10800000000000,
+ "block-ids-max-size": 500,
+ "block-ids-sweep-freq": 60000000000,
+ "block-ids-ttl": 1800000000000,
"block-max-size": 1000,
"block-sweep-freq": 60000000000,
"block-ttl": 1800000000000,
@@ -37,7 +40,13 @@ EXPECT=$(cat <<"EOF"
"emoji-max-size": 2000,
"emoji-sweep-freq": 60000000000,
"emoji-ttl": 1800000000000,
+ "follow-ids-max-size": 500,
+ "follow-ids-sweep-freq": 60000000000,
+ "follow-ids-ttl": 1800000000000,
"follow-max-size": 2000,
+ "follow-request-ids-max-size": 500,
+ "follow-request-ids-sweep-freq": 60000000000,
+ "follow-request-ids-ttl": 1800000000000,
"follow-request-max-size": 2000,
"follow-request-sweep-freq": 60000000000,
"follow-request-ttl": 1800000000000,