querysub 0.194.0 → 0.195.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.194.0",
3
+ "version": "0.195.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",
@@ -392,7 +392,7 @@ async function runMainSyncLoops(discoveryReady: PromiseObj<void>) {
392
392
 
393
393
  console.log(magenta(`Node discovery is loaded`));
394
394
 
395
- await runInfinitePoll(HEARTBEAT_INTERVAL, async function nodeDiscoverHeartbeat() {
395
+ await runInfinitePollCallAtStart(HEARTBEAT_INTERVAL, async function nodeDiscoverHeartbeat() {
396
396
  // If we waited too long, other nodes might think we are dead. In which case, we SHOULD terminate.
397
397
  if (!isNoNetwork()) {
398
398
  // FIRST, verify we didn't delay too long (to make sure we kill any nodes that were disconnected