Commit 7ecdc94
committed
docs(knowledge): state why the ACL ceiling exists rather than where the number came from
The comment justified 5,000 tokens by appeal to a reference implementation.
The real reason is that the ceiling is a bug detector: with group tokens a
legitimate document names tens of principals, so thousands means a connector
expanded a group to its members — the exact failure group tokens prevent, and
one that bloats the GIN index for every other document in the workspace.1 parent 8932ca2 commit 7ecdc94
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments