azuqua / notp

A library for writing distributed systems that use a gossip protocol to communicate state management, consistent hash rings for sharding, and vector clocks for history. https://www.npmjs.com/package/clusterluck
MIT License
169 stars 7 forks source link

chore: pass limit through kernel.call to _collectStream #58

Closed virginiachiu-okta closed 3 years ago

virginiachiu-okta commented 3 years ago

_collectStream can take a limit as an parameter. The limit parameter has a default value of 10MB. The only call to _collectStream from call in kernel.js didn't take a limit parameter. This made it a hardcoded limit.

Now it's not hardcoded and a limit can be passed through.