querysub 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -267,6 +267,7 @@ async function runHeartbeatAuditLoop() {
|
|
|
267
267
|
await runInfinitePollCallAtStart(CHECK_INTERVAL * 0.9, async () => {
|
|
268
268
|
if (shutdown) return;
|
|
269
269
|
// Wait a bit longer, to try to prevent all nodes from synchronizing their audit times.
|
|
270
|
+
console.log(magenta(`Auditing node list`));
|
|
270
271
|
await delay(CHECK_INTERVAL * Math.random() * 0.1);
|
|
271
272
|
//console.log(magenta(`Auditing node list`));
|
|
272
273
|
|
|
@@ -306,7 +307,7 @@ async function runHeartbeatAuditLoop() {
|
|
|
306
307
|
if (removedNodeIds.length > 0) {
|
|
307
308
|
console.log(blue(`Removed ${removedNodeIds.length}/${nodeIds.length} nodes from node list`), { removedNodeIds });
|
|
308
309
|
await syncArchives();
|
|
309
|
-
|
|
310
|
+
await tellEveryoneNodesChanges();
|
|
310
311
|
}
|
|
311
312
|
});
|
|
312
313
|
}
|