Skip to content

Commit 1792c83

Browse files
committed
mmaprototype: extract shedStore logic into rebalanceStore method
Extract the shedStore immediately invoked function expression (IIFE) into a standalone rebalanceStore method on *rebalanceState. Move sheddingStore type definition to top level. The method now has a clean signature with rs as receiver and takes store, ctx, localStoreID, and now as parameters.
1 parent 5aa42dd commit 1792c83

File tree

1 file changed

+427
-422
lines changed

1 file changed

+427
-422
lines changed

0 commit comments

Comments
 (0)