querysub 0.707.0 → 0.709.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.707.0",
3
+ "version": "0.709.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",
@@ -25,9 +25,9 @@
25
25
  "mcp2": "yarn typenode ./src/diagnostics/debugger/mcp-server.ts",
26
26
  "mc2": "yarn typenode ./src/diagnostics/debugger/mcp-server.ts --cwd D:/repos/qs-cyoa/",
27
27
  "autofix": "yarn typenode ./src/diagnostics/logs/errorTickets/autoFixerEntry.ts",
28
- "thin": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts",
29
- "thin-watch": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts --watch",
30
- "thin-dry": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts --dry-run",
28
+ "thin": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts --nobreak --public",
29
+ "thin-watch": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts --nobreak --public --watch",
30
+ "thin-dry": "yarn typenode ./src/archiveapps/snapshotThinningEntry.ts --nobreak --public --dry-run",
31
31
  "parameters-timeline": "yarn typenode ./src/deployManager/parametersTimelineMain.ts",
32
32
  "setup-machine": "yarn typenode ./src/deployManager/setupMachineMain.ts",
33
33
  "stop-machine": "yarn typenode ./src/deployManager/stopMachineMain.ts",
@@ -13,7 +13,7 @@ import { getArchives2 } from "../../-a-archives/archives2";
13
13
 
14
14
 
15
15
  // Snapshot is just a newline delimitted list of files. The name contains the metadata and time of it.
16
- const snapshots = lazy(() => getArchives2("snapshots"));
16
+ export const snapshots = lazy(() => getArchives2("snapshots"));
17
17
 
18
18
  export type ArchiveSnapshotOverview = {
19
19
  // If live, it isn't a real file that can be loaded
@@ -29,7 +29,7 @@ const thinningRanges: {
29
29
  ];
30
30
 
31
31
  // Unreferenced recycle bin files younger than this are kept. Deleting an unreferenced recycle file too eagerly would destroy the backup of anything recycled since the last kept snapshot, so orphans only die once they have sat unreferenced long enough that nothing could still want them back.
32
- const RECYCLE_ORPHAN_MIN_AGE = timeInMonth * 2;
32
+ const RECYCLE_ORPHAN_MIN_AGE = timeInWeek;
33
33
 
34
34
  const INDEX_KEY = "index";
35
35
  const PARALLEL_DELETE_COUNT = 32;