Mise à jour de GitLab prévue ce dimanche 6 décembre 2020 à partir de 9h00 CEST | GitLab upgrade planned this Sunday December 6th 2020 from 9:00 AM CEST

Commit 2dc4e55b authored by Cédric Moreau's avatar Cédric Moreau

Fix: flooding log "Asking for SELFPEER"

parent 99b809b6
......@@ -97,9 +97,9 @@ function Daemon () {
// Case 1: just triggers self-vote
if (daemon.judges.timeForVote(amNext)) {
// Must be a voter to vote!
logger.debug("Asking vote for SELF peer");
Key.wasVoter(selfFingerprint, current.number, function (err, wasVoter) {
if (!err && wasVoter) {
logger.debug("Asking vote for SELF peer");
askVote(current, PeeringService.peer(), function (err, json) {
// Do nothing with result: it has been done by SyncService (self-submitted the vote)
callback(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment