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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -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
- void tellEveryoneNodesChanges();
310
+ await tellEveryoneNodesChanges();
310
311
  }
311
312
  });
312
313
  }