Tweak some more timings for better reliability.

This commit is contained in:
Adam Ierymenko 2015-11-02 15:38:53 -08:00
parent 60ce886605
commit 7fbe2f7adf
8 changed files with 22 additions and 19 deletions

View file

@ -263,7 +263,7 @@ public:
}
lastReceiveFromUpstream = std::max(p->lastReceive(),lastReceiveFromUpstream);
} else if (p->alive(_now)) {
} else if (p->activelyTransferringFrames(_now)) {
// Normal nodes get their preferred link kept alive if the node has generated frame traffic recently
p->doPingAndKeepalive(RR,_now,0);
}