@iobroker/js-controller-adapter 4.0.13 → 4.0.14-alpha.0-20220219-930015a9
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.
|
@@ -54,8 +54,8 @@ function Adapter(options) {
|
|
|
54
54
|
const configFileName = tools.getConfigFileName();
|
|
55
55
|
if (fs.existsSync(configFileName)) {
|
|
56
56
|
config = fs.readJSONSync(configFileName);
|
|
57
|
-
config.states = config.states || { type: '
|
|
58
|
-
config.objects = config.objects || { type: '
|
|
57
|
+
config.states = config.states || { type: 'jsonl' };
|
|
58
|
+
config.objects = config.objects || { type: 'jsonl' };
|
|
59
59
|
// Make sure the DB has enough time (5s). JsonL can take a bit longer if the process just crashed before
|
|
60
60
|
// because the lockfile might not have been freed.
|
|
61
61
|
config.states.connectTimeout = Math.max(config.states.connectTimeout || 0, 5000);
|