summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-02-10 15:46:36 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-10 15:46:36 +0100
commit787bdc1488da476e54fb0daded061cf36ecf9010 (patch)
tree892cf4b9d42887ac703d8ee565be884c89b2d903 /testrig/config.go
parent[bugfix] Fix POST to create account endpoint (#3767) (diff)
downloadgotosocial-787bdc1488da476e54fb0daded061cf36ecf9010.tar.xz
[feature] make account sign-up / backlog limits configurable (#3768)
Diffstat (limited to 'testrig/config.go')
-rw-r--r--testrig/config.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/testrig/config.go b/testrig/config.go
index 0a957a831..f68a8ffb7 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -102,10 +102,12 @@ func testDefaults() config.Configuration {
InstanceSubscriptionsProcessFrom: "23:00", // 11pm,
InstanceSubscriptionsProcessEvery: 24 * time.Hour, // 1/day.
- AccountsRegistrationOpen: true,
- AccountsReasonRequired: true,
- AccountsAllowCustomCSS: true,
- AccountsCustomCSSLength: 10000,
+ AccountsRegistrationOpen: true,
+ AccountsReasonRequired: true,
+ AccountsRegistrationDailyLimit: 10,
+ AccountsRegistrationBacklogLimit: 20,
+ AccountsAllowCustomCSS: true,
+ AccountsCustomCSSLength: 10000,
MediaDescriptionMinChars: 0,
MediaDescriptionMaxChars: 500,