Closed andig closed 1 year ago
Any feedback on this one? Open bug regarding ProtocolRecoveryTimeout
?
@andig I will merge this PR now as preparation for #66. Another discussion for the ProtocolRecoveryTimeout
problem would be great as this is still weird
This PR simplifies checking for
recoveryDeadline
being exceeded.Note: refactoring the code like this, it seems to indicate that there is something wrong with the usage of
ProtocolRecoveryTimeout
. It's actual value is never used, only checked against being zero. In contrast,LinkRecoveryTimeout
is used as input tosleep
.