@iobroker/db-objects-jsonl 4.0.23 → 4.0.24

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.
@@ -30,7 +30,10 @@ function normalizeJsonlOptions(conf = {}) {
30
30
  const ret = {
31
31
  autoCompress: {
32
32
  sizeFactor: 2,
33
- sizeFactorMinimumSize: 25000
33
+ sizeFactorMinimumSize: 25000,
34
+ // Compress at least daily to avoid a huge file when DBs have few objects
35
+ // but big objects are updated regularly (e.g. the repositories)
36
+ intervalMs: 1000 * 60 * 60 * 23
34
37
  },
35
38
  ignoreReadErrors: true,
36
39
  throttleFS: {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@iobroker/db-objects-jsonl",
3
- "version": "4.0.23",
3
+ "version": "4.0.24",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
8
  "@alcalzone/jsonl-db": "~2.5.1",
9
- "@iobroker/db-base": "4.0.23",
10
- "@iobroker/db-objects-file": "4.0.23",
11
- "@iobroker/db-objects-redis": "4.0.23",
9
+ "@iobroker/db-base": "4.0.24",
10
+ "@iobroker/db-objects-file": "4.0.24",
11
+ "@iobroker/db-objects-redis": "4.0.24",
12
12
  "deep-clone": "^3.0.3",
13
13
  "fs-extra": "^10.0.0"
14
14
  },
@@ -37,5 +37,5 @@
37
37
  "lib/",
38
38
  "index.js"
39
39
  ],
40
- "gitHead": "ea1a72ac2d74317ad16234f7aeac90632374614c"
40
+ "gitHead": "5645debf3394177abeef58917f872a7d8c43e320"
41
41
  }