File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1040,6 +1040,33 @@ background-worker:
10401040 conversationCodes : cassandra
10411041 teamFeatures : cassandra
10421042
1043+ settings :
1044+ maxTeamSize : 10000
1045+ maxFanoutSize : 500
1046+ exposeInvitationURLsTeamAllowlist : []
1047+ maxConvSize : 500
1048+ intraListing : true
1049+ conversationCodeURI : null
1050+ multiIngress : null
1051+ federationProtocols : null
1052+ guestLinkTTLSeconds : 31536000
1053+ passwordHashingOptions :
1054+ algorithm : scrypt # or argon2id
1055+ passwordHashingRateLimit :
1056+ ipAddrLimit :
1057+ burst : 5
1058+ inverseRate : 300000000 # 5 mins, makes it 12 reqs/hour
1059+ userLimit :
1060+ burst : 5
1061+ inverseRate : 60000000 # 1 min, makes it 60 req/hour
1062+ internalLimit :
1063+ burst : 10
1064+ inverseRate : 0 # No rate limiting for internal use
1065+ ipv4CidrBlock : 32 # Only block individual IP addresses
1066+ ipv6CidrBlock : 64 # Block /64 range at a time.
1067+ ipAddressExceptions : []
1068+ maxRateLimitedKeys : 100000 # Estimated memory usage: 4 MB
1069+
10431070 secrets :
10441071 {}
10451072 # pgPassword: <postgres-password>
Original file line number Diff line number Diff line change @@ -324,6 +324,7 @@ background-worker:
324324 ipv6CidrBlock: 64 # Block /64 range at a time.
325325 ipAddressExceptions:
326326 - 127.0.0.1 /8
327+ maxRateLimitedKeys: 100000
327328 checkGroupInfo: false
328329 secrets:
329330 rabbitmq:
Original file line number Diff line number Diff line change @@ -321,8 +321,20 @@ galley:
321321 parallelism: 4
322322 memory: 32 # This needs to be at least 8 * parallelism.
323323 passwordHashingRateLimit:
324+ ipAddrLimit:
325+ burst: 5
326+ inverseRate: 300000000 # 5 mins, makes it 12 reqs/hour
327+ userLimit:
328+ burst: 5
329+ inverseRate: 60000000 # 1 min, makes it 60 req/hour
330+ internalLimit:
331+ burst: 10
332+ inverseRate: 0 # No rate limiting for internal use
333+ ipv4CidrBlock: 32 # Only block individual IP addresses
334+ ipv6CidrBlock: 64 # Block /64 range at a time.
324335 ipAddressExceptions:
325336 - 127.0.0.1 /8
337+ maxRateLimitedKeys: 100000
326338
327339 featureFlags:
328340 sso: disabled-by-default # this needs to be the default; tests can enable it when needed.
@@ -709,6 +721,7 @@ background-worker:
709721 ipv6CidrBlock: 64 # Block /64 range at a time.
710722 ipAddressExceptions:
711723 - 127.0.0.1 /8
724+ maxRateLimitedKeys: 100000
712725 checkGroupInfo: false
713726 secrets:
714727 pgPassword: " posty-the-gres"
You can’t perform that action at this time.
0 commit comments