tka: clarify that this limit is on disablement *values* not *secrets*

Values get written into TKA state; secrets don't.

Updates #cleanup

Change-Id: Ief9831dcb1102f584a33b2e71b611b38ca463724
Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
Alex Chan
2026-05-01 13:38:16 +01:00
committed by Alex Chan
parent f15a4f4416
commit 3ced30b0b6
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ import (
const (
// Upper bound on checkpoint elements, chosen arbitrarily. Intended
// to cap the size of large AUMs.
maxDisablementSecrets = 32
maxKeys = 512
maxDisablementValues = 32
maxKeys = 512
// Max amount of metadata that can be associated with a key, chosen arbitrarily.
// Intended to avoid people abusing TKA as a key-value score.