querysub 0.58.0 → 0.60.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.58.0",
3
+ "version": "0.60.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",
@@ -46,7 +46,7 @@ let DISK_AUDIT_RATE = timeInMinute * 5;
46
46
  // request per second, and each request is 1000 bytes (which as we use websockets, it
47
47
  // probably is less than that). Which is around 2.5 cents on backblaze IF we go over
48
48
  // our 1TB/month allowance.
49
- let API_AUDIT_RATE = timeInSecond;
49
+ let API_AUDIT_RATE = timeInSecond * 15;
50
50
  let API_AUDIT_COUNT = 12;
51
51
 
52
52
 
@@ -524,7 +524,6 @@ class NodeDiscoveryControllerBase {
524
524
  return Array.from(allNodeIds2).filter(x => !x.startsWith("127-0-0-1."));
525
525
  }
526
526
  public async getNodeId() {
527
- console.log(`Returning node id ${SocketFunction.mountedNodeId}`);
528
527
  return SocketFunction.mountedNodeId;
529
528
  }
530
529
  public async isNoNetwork() {
package/src/server.ts CHANGED
@@ -40,7 +40,7 @@ async function main() {
40
40
 
41
41
  Error.stackTraceLimit = 20;
42
42
 
43
- //SocketFunction.logMessages = true;
43
+ SocketFunction.logMessages = true;
44
44
 
45
45
  // ClientWatcher.DEBUG_READS = true;
46
46
  // ClientWatcher.DEBUG_WRITES = true;