Skip to content
Snippets Groups Projects
Commit 60c78c92 authored by benjamin's avatar benjamin
Browse files

added a print on every round check

parent a909ab74
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
......@@ -340,6 +340,7 @@ func (c *client) follow(identity receptionID.IdentityUse,
if !hasMessage && c.verboseRounds != nil {
c.verboseRounds.denote(rid, RoundState(NoMessageAvailable))
}
jww.INFO.Printf("[LOOKUP] round %d checked for %d, has message: %s", rid, identity.EphId.Int64(), hasMessage)
return hasMessage
}
......@@ -390,10 +391,10 @@ func (c *client) follow(identity receptionID.IdentityUse,
gwRoundsState.RangeUnchecked(
updatedEarliestRound, c.param.KnownRoundsThreshold, roundChecker)
jww.DEBUG.Printf("Processed RangeUnchecked, Oldest: %d, "+
jww.DEBUG.Printf("Processed RangeUnchecked for %s, Oldest: %d, "+
"firstUnchecked: %d, last Checked: %d, threshold: %d, "+
"NewEarliestRemaining: %d, NumWithMessages: %d, NumUnknown: %d",
updatedEarliestRound, gwRoundsState.GetFirstUnchecked(),
identity.EphId.Int64(), updatedEarliestRound, gwRoundsState.GetFirstUnchecked(),
gwRoundsState.GetLastChecked(), c.param.KnownRoundsThreshold,
earliestRemaining, len(roundsWithMessages), len(roundsUnknown))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment