Closed sgran closed 9 years ago
Thanks for this! It'd be nice to have a small test for the chunk
function once it's moved to a top-level function, just to be sure we don't introduce regressions in the future.
pushed now, let me know what you think
Thanks for adding a test! Sorry to bother you again with this but chunk
doesn't even have to be an instance method on the finder, does it?. It should be able to go completely top-level :)
oh, yes, it could do that. I didn't want to add a new top level export to the file to avoid leaking names, but it's up to you. Since it's only called from one method in the finder, I was fine with it being restricted to the finder.
Yeah, I'd rather have an extra name than an instance method that doesn't use the instance :). Thanks!
:shipit:
With many nodes in a series, we were running into jetty URL length limits, even when pushing the limit to ridiculous lengths like 32k. This patch chunks the request up into multiple requests, limiting the (configurable) length. It defaults to just under 8k, which should work with most web servers.
Signed-off-by: Stephen Gran stephen.gran@piksel.com