summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLibravatar nicole mikołajczyk <git@mkljczk.pl>2025-08-12 14:05:15 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-08-12 14:05:15 +0200
commit660cf2c94ce6a87ac33d704ab1f68b2d4a258d92 (patch)
tree03eeab55b2f3bc2f3fc7667d245ed3b561a4f1a4 /test
parent[docs] Revamp trusted proxies warning a bit (#4365) (diff)
downloadgotosocial-660cf2c94ce6a87ac33d704ab1f68b2d4a258d92.tar.xz
[feature] scheduled statuses (#4274)
An implementation of [`scheduled_statuses`](https://docs.joinmastodon.org/methods/scheduled_statuses/). Will fix #1006. this is heavily WIP and I need to reorganize some of the code, working on this made me somehow familiar with the codebase and led to my other recent contributions i told some fops on fedi i'd work on this so i have no choice but to complete it 🤷‍♀️ btw iirc my avatar presents me working on this branch Signed-off-by: nicole mikołajczyk <git@mkljczk.pl> Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4274 Co-authored-by: nicole mikołajczyk <git@mkljczk.pl> Co-committed-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat (limited to 'test')
-rwxr-xr-xtest/envparsing.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/envparsing.sh b/test/envparsing.sh
index 66baee482..d61a1a728 100755
--- a/test/envparsing.sh
+++ b/test/envparsing.sh
@@ -68,6 +68,7 @@ EXPECT=$(cat << "EOF"
"cache-poll-vote-ids-mem-ratio": 2,
"cache-poll-vote-mem-ratio": 2,
"cache-report-mem-ratio": 1,
+ "cache-scheduled-status-mem-ratio": 4,
"cache-sin-bin-status-mem-ratio": 0.5,
"cache-status-bookmark-ids-mem-ratio": 2,
"cache-status-bookmark-mem-ratio": 0.5,
@@ -177,6 +178,8 @@ EXPECT=$(cat << "EOF"
"protocol": "http",
"remote-only": false,
"request-id-header": "X-Trace-Id",
+ "scheduled-statuses-max-daily": 25,
+ "scheduled-statuses-max-total": 300,
"skip-db-setup": false,
"skip-db-teardown": false,
"smtp-disclose-recipients": true,