aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/conf/hub.toml.example
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-23 19:01:37 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-23 19:01:37 +0200
commit3a27a5cd3ae1e752b17d27844cee3d18a35d4498 (patch)
tree5af139b818db052939e532f475206ad3df68d063 /packaging/conf/hub.toml.example
parent1f6b67c7bfc8078991a4607bb0419aea15bfd54c (diff)
downloadmeshbay-3a27a5cd3ae1e752b17d27844cee3d18a35d4498.tar.gz
fix(hub): an invitation no longer holds back its invitee's sign-up code
The per-recipient cooldown was shared by every purpose, so the code a person asked for by registering within two minutes of an invitation link was refused, silently. The cooldown is now per family (invitations vs the account's own steps); the daily cap still counts everything. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packaging/conf/hub.toml.example')
-rw-r--r--packaging/conf/hub.toml.example5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/conf/hub.toml.example b/packaging/conf/hub.toml.example
index fc05591..640b2ce 100644
--- a/packaging/conf/hub.toml.example
+++ b/packaging/conf/hub.toml.example
@@ -107,7 +107,10 @@ hourly_budget = 200
# `hourly_budget - hourly_reserved_for_recovery`.
hourly_reserved_for_recovery = 50
-# Per recipient, across every purpose, account and endpoint. This is the bound
+# Per recipient. The daily cap counts every purpose, account and endpoint; the
+# cooldown is shared within two families — invitations, and an account's own
+# steps (sign-up code, reset, address change) — so an invitation does not hold
+# back the sign-up code its invitee asks for a minute later. This is the bound
# that describes what a person being flooded actually receives, and the only
# one that does.
destination_daily_cap = 10