denokv icon indicating copy to clipboard operation
denokv copied to clipboard

What is the maximum batch size in `KvListOptions`?

Open vwkd opened this issue 7 months ago • 0 comments

The docs say the maximum batch size for KvListOptions is 500.

The default batch size is equal to the limit option, or 100 if this is unset. The maximum value for this option is 500. Larger values will be clamped.

The code checks for 1000, which seems to be confirmed on Discord^1. Also, the code seems to throw instead of clamp for other values.

Please clearly document which number and behavior is true.

vwkd avatar May 18 '25 10:05 vwkd