resilient-http / resilient.js

Fault tolerant and reactive HTTP client for node.js and browsers
184 stars 13 forks source link

Fix options usage #133

Open mshmelev opened 8 years ago

mshmelev commented 8 years ago

Now options are passed as Options object (with 'store' in it), but used as a simple object (see roundRobinSort, which can't find options.roundRobinSize, and roundRobin logic is never applied). This fix converts Options-typed object o a simple object.

h2non commented 8 years ago

This is generating side effects on the existent tests due to the new balancing logic is enabled now. I'll take a look in detail. Thank you.