Avoid logging the same result twice.
This commit is contained in:
parent
f4b24df024
commit
396d6ac08a
@ -83,10 +83,7 @@ function registerSyncHandlers(node, delay) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
node.on('synced', function() {
|
node.on('synced', function() {
|
||||||
// Stop logging of sync status
|
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
interval = false;
|
|
||||||
logSyncStatus();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
node.on('ready', function() {
|
node.on('ready', function() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user