querysub 0.408.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.408.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;
@@ -79,7 +79,7 @@ export class MachineDetailPage extends qreact.Component {
79
79
  <b>Machine Status</b>
80
80
  </div>
81
81
  <div>
82
- {isDisabled && "When disabled, services will not be deployed to this machine. Re-enabling will restore all service assignments." || "This machine is enabled and available for service deployments."}
82
+ {isDisabled && "All services are stopped on this machine. Re-enabling will start all services again." || "This machine is enabled and available for service deployments. Disabling will stop all services, but leave them assigned."}
83
83
  </div>
84
84
  </div>
85
85
  <button
@@ -28,6 +28,12 @@ export function bufferDiskCache(
28
28
  get(key: string): Promise<Buffer | undefined>;
29
29
  set(key: string, value: Buffer): void;
30
30
  } {
31
+ if (isNode()) {
32
+ return {
33
+ get: async (key: string) => undefined,
34
+ set: async (key: string, value: Buffer) => { },
35
+ };
36
+ }
31
37
  let { uniqueName } = config;
32
38
  const inMemoryLimit = config.inMemoryLimit ?? 64 * 1024 * 1024;
33
39
 
package/tempnotes.txt CHANGED
@@ -7,6 +7,10 @@
7
7
  5) Deploy disk audit service too
8
8
  `yarn audit-disk-values` should work
9
9
 
10
+ 1) Use connection page to verify server can talk to our locally hosted server
11
+ 1.1) Verify by breaking into our local server that we are receiving values written on the remote server in the local server.
12
+ - This is extremely important. Without this, we can't run a local server. There's all kinds of issues, but our socket function changes should make this so this just works.
13
+
10
14
  I think even if we run into some occasional issues, we should just power through and try to fix them later. Because I'm sick of working on the framework...
11
15
 
12
16
  MONTHLY SUMMARY!