update unixfs inline option comment to give us room to change things
(addressing CR) License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Oct 4, 2018 at 21:12 UTC
35e8d6fba1f20a38cb7b04069f7d140bdc4daa81
1 file changed
+2
-3
core/coreapi/interface/options/unixfs.go
+2
-3
@@ -171,9 +171,8 @@ func (unixfsOpts) Inline(enable bool) UnixfsAddOption {
171
// option. Default: 32 bytes
172
//
173
// Note that while there is no hard limit on the number of bytes, it should be
174
-// kept at a reasonably low value, such as 64 and no more than 1k. Setting this
175
-// value too high may cause various problems, such as render some
176
-// blocks unfetchable.
174
+// kept at a reasonably low value, such as 64; implementations may choose to
175
+// reject anything larger.
176
func (unixfsOpts) InlineLimit(limit int) UnixfsAddOption {
177
return func(settings *UnixfsAddSettings) error {
178
settings.InlineLimit = limit