dreamhost/akanda-rug — pull request #158 by dhellmann (2014-06-23 20:00:17+00:00)
Title: Make ClearError bypass second CalcAction

When CalcAction determines that the router has an error status, it
transitions to ClearError, which returns to CalcAction. Each time we make it
back to CalcAction, we yield control of the worker and have to wait for
another turn. Since we know we're going to re-compute the same action, just
pass it to ClearError and allow that state to transition directly to the next
real update, bypassing CalcAction.

Change-Id: I5bd28403d679889158f28e6440eab7e3b50318d7