Skip to content

Commit 78d65fa

Browse files
Add code comment
1 parent f61bb79 commit 78d65fa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pkg/commands/configstoreentry/errors.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import (
88
)
99

1010
const (
11-
maxKeyLen = 256
11+
maxKeyLen = 256
12+
// maxValueLen is the maximum length of config store entry's value. It's set to 64k,
13+
// even though users may have a smaller limit. The API will reject requests if the
14+
// value is larger than the user's limit.
1215
maxValueLen = 2 << 15
1316
)
1417

0 commit comments

Comments
 (0)