querysub 0.461.0 → 0.462.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.461.0",
3
+ "version": "0.462.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",
@@ -691,8 +691,8 @@ registerGetSpecForChildPath(path => {
691
691
  if (remoteWatchRange) return remoteWatchRange.authoritySpec;
692
692
 
693
693
  if (!remoteWatcher.hasAnyDirectPathWatches(path)) {
694
- // NOTE: This fall through usually means that we received a value before we started watching it, which is weird. That really shouldn't happen often. It'll probably break things. We will probably ignore this value thinking it has a different hash than it does.
695
- console.warn(`We do not own a path, but also aren't watching it on a remote, but... receive the value? This is weird, and will probably break things (we will likely ignore this value / not trigger parent watches for it).`, { path });
694
+ // NOTE: This might mean that our Path Watcher and remote watcher are out of sync, which is a big problem and will break things.
695
+ console.error(`We do not own a path, but also aren't watching it on a remote, but... receive the value? This is weird, and will probably break things (we will likely ignore this value / not trigger parent watches for it).`, { path });
696
696
  }
697
697
  }
698
698
  return authorityLookup.getOurSpec();
@@ -30,8 +30,8 @@ import { fsExistsAsync } from "../fs";
30
30
  // to PIPE_FILE_LINE_LIMIT lines it is truncated down to PIPE_FILE_LINE_KEEP. The
31
31
  // file size is checked every PIPE_FILE_LINE_KEEP lines, so the file stays within
32
32
  // [PIPE_FILE_LINE_KEEP, PIPE_FILE_LINE_LIMIT] lines.
33
- const PIPE_FILE_LINE_LIMIT = 2_000;
34
- const PIPE_FILE_LINE_KEEP = 1_000;
33
+ const PIPE_FILE_LINE_LIMIT = 10_000;
34
+ const PIPE_FILE_LINE_KEEP = 5_000;
35
35
 
36
36
 
37
37
  const getMemoryInfo = measureWrap(async function getMemoryInfo(): Promise<{ value: number; max: number } | undefined> {