@iobroker/db-objects-jsonl 4.0.9-alpha.4-20220211-0162da93 → 4.0.10
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.
|
@@ -43,6 +43,14 @@ class ObjectsInMemoryJsonlDB extends ObjectsInMemoryFileDB {
|
|
|
43
43
|
throttleFS: {
|
|
44
44
|
intervalMs: 60000,
|
|
45
45
|
maxBufferedCommands: 1000
|
|
46
|
+
},
|
|
47
|
+
lockfile: {
|
|
48
|
+
// 5 retries starting at 250ms add up to just above 2s,
|
|
49
|
+
// so the DB has 3 more seconds to load all data if it wants to stay within the 5s connectionTimeout
|
|
50
|
+
retries: 5,
|
|
51
|
+
retryMinTimeoutMs: 250,
|
|
52
|
+
// This makes sure the DB stays locked for maximum 2s even if the process crashes
|
|
53
|
+
staleMs: 2000
|
|
46
54
|
}
|
|
47
55
|
};
|
|
48
56
|
settings.jsonlDB = {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/db-objects-jsonl",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@alcalzone/jsonl-db": "~2.
|
|
9
|
-
"@iobroker/db-base": "4.0.
|
|
10
|
-
"@iobroker/db-objects-file": "4.0.
|
|
11
|
-
"@iobroker/db-objects-redis": "4.0.
|
|
8
|
+
"@alcalzone/jsonl-db": "~2.5.1",
|
|
9
|
+
"@iobroker/db-base": "4.0.10",
|
|
10
|
+
"@iobroker/db-objects-file": "4.0.10",
|
|
11
|
+
"@iobroker/db-objects-redis": "4.0.10",
|
|
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": "
|
|
40
|
+
"gitHead": "d334e640b26f5fec15277f6f55c2b46a46e4ae14"
|
|
41
41
|
}
|