What this does
This plug sets a rebalance entry by writing a token and its weight into the tokens and weights maps in the socket's persistent storage at a chosen slot. It asks the caller for the token, the weight, and the index slot to write to. It runs when the caller executes it, storing both values under the same index. Editing these maps by hand risks writing a token and weight to mismatched slots, leaving the rebalance configuration inconsistent.
Actions · 2


Related plugs · 8