Repository navigation
v0.53.1
consume-first can now move back to the account it just left when that account's weekly quota resets sooner (#53, thanks @mvanhorn).
This follows up on the 0.53.0 fix. Say auto-switch left account A at the threshold for account B, which still had room, and then B crossed the threshold too. A's weekly quota still resets first, but auto-switch wouldn't move back to the account it had just left. So it kept burning B while A's quota reset unused.
That rule exists to stop two accounts from ping-ponging. When both accounts are held back by their weekly windows, reset order is fixed, and from A the later-resetting B is never a target. So the move back can't flap, and consume-first now makes it. The best strategy and every other case are unchanged.