filecoin-saturn / caboose

A blockstore for distributing load
Other
12 stars 2 forks source link

Factor out repeated code to simplify locking, reduce lock granularity and add membership debounce and tests #36

Closed willscott closed 1 year ago

willscott commented 1 year ago

This is a counter to #33

Rather than adding an event loop, adding a method for replaceNodeToHaveWeight leads to an overall code reduction and less potential for missed locking semantics.

@aarshkshah1992 added debounce for membership and tests.

willscott commented 1 year ago

I think this looks good.

@lidel : want to try a build against this branch before we merge to main?