querysub 0.409.0 → 0.410.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.409.0",
3
+ "version": "0.410.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",
@@ -451,6 +451,7 @@ async function fastMemorySync() {
451
451
  // with extra nodes. However, if we are missing nodes, we'd prefer to have them quickly, so we should
452
452
  // sync now.
453
453
  let missingNodes = otherNodes.filter(nodeId => !allNodeIds2.has(nodeId));
454
+ missingNodes = missingNodes.filter(nodeId => !wrongServerNodeIds.has(nodeId));
454
455
  if (missingNodes.length > 0) {
455
456
  console.log(yellow(`Node list is missing nodes, resyncing node`), { missingNodes, otherNodes });
456
457
  await syncArchives();
@@ -1433,8 +1433,8 @@ export class PathValueProxyWatcher {
1433
1433
  if (watcher.disposed) return;
1434
1434
  let remainingUnsynced = Array.from(watcher.lastUnsyncedAccesses).filter(x => !authorityStorage.isSynced(x));
1435
1435
  let remainingUnsyncedParent = Array.from(watcher.lastUnsyncedParentAccesses).filter(x => !authorityStorage.isParentSynced(x));
1436
- console.warn(red(`Did not sync ${watcher.debugName} after 15 seconds. Either we had a lot synchronous block, or we will never received the values we are waiting for.`), remainingUnsynced, remainingUnsyncedParent, watcher.options.watchFunction);
1437
- }, 15000);
1436
+ console.warn(red(`Did not sync ${watcher.debugName} after 30 seconds. Either we had a lot synchronous block, or we will never received the values we are waiting for.`), remainingUnsynced, remainingUnsyncedParent, watcher.options.watchFunction);
1437
+ }, 30 * 1000);
1438
1438
  setTimeout(() => {
1439
1439
  if (watcher.syncRunCount !== syncRunCount) return;
1440
1440
  if (watcher.disposed) return;