Applies Jakub Adamek patch that skips unnecessary nomination.

This commit is contained in:
paweldomas 2013-09-17 11:54:32 +00:00
parent db9a4f2deb
commit 08633a3b66

View File

@ -310,7 +310,7 @@ public class DefaultNominator
}
}
if(allFailed)
if(allFailed && ! pair.isNominated())
{
// all other pairs are failed to do not waste time, cancel
// timer and nominate ourself (the relayed candidate).