Skip to main content

current_keep_alive_surb_reserve

Function current_keep_alive_surb_reserve 

Source
fn current_keep_alive_surb_reserve(balancer: &BalancerStateValues) -> u64
Expand description

The keep-alive reserve of a Session whose Entry currently asks for the target balancer holds.

Read at every check rather than fixed when the Session opens: the Entry may lower its target while the Session runs (a BalancerTarget keep-alive updates it), and its balancer then keeps the stock near the new one. A reserve fixed at the opening target could sit above every stock the Entry now keeps, and data would be held for good.