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
|
@@ -691,8 +691,8 @@ registerGetSpecForChildPath(path => {
|
|
|
691
691
|
if (remoteWatchRange) return remoteWatchRange.authoritySpec;
|
|
692
692
|
|
|
693
693
|
if (!remoteWatcher.hasAnyDirectPathWatches(path)) {
|
|
694
|
-
// NOTE: This
|
|
695
|
-
console.
|
|
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 =
|
|
34
|
-
const PIPE_FILE_LINE_KEEP =
|
|
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> {
|