@matterbridge/core 3.7.8-dev-20260505-503c672 → 3.7.8-dev-20260505-8558313
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/dist/matterbridge.js +4 -0
- package/package.json +5 -5
package/dist/matterbridge.js
CHANGED
|
@@ -342,6 +342,8 @@ export class Matterbridge extends EventEmitter {
|
|
|
342
342
|
try {
|
|
343
343
|
this.log.debug(`Creating node storage manager: ${CYAN}${NODE_STORAGE_DIR}${db}`);
|
|
344
344
|
this.nodeStorage = new NodeStorageManager({ dir: path.join(this.matterbridgeDirectory, NODE_STORAGE_DIR), writeQueue: false, expiredInterval: undefined, logging: false });
|
|
345
|
+
if (!(await this.nodeStorage.healthCheck()))
|
|
346
|
+
this.log.error('Node storage manager health check failed');
|
|
345
347
|
this.log.debug('Creating node storage context for matterbridge');
|
|
346
348
|
this.nodeContext = await this.nodeStorage.createStorage('matterbridge');
|
|
347
349
|
const keys = (await this.nodeStorage.keys());
|
|
@@ -353,6 +355,8 @@ export class Matterbridge extends EventEmitter {
|
|
|
353
355
|
for (const storage of storages) {
|
|
354
356
|
this.log.debug(`Checking storage: ${CYAN}${storage}${db}`);
|
|
355
357
|
const nodeContext = await this.nodeStorage?.createStorage(storage);
|
|
358
|
+
if (!(await nodeContext.healthCheck()))
|
|
359
|
+
this.log.error(`Node storage ${CYAN}${storage}${er} health check failed`);
|
|
356
360
|
const keys = await nodeContext.keys();
|
|
357
361
|
for (const key of keys) {
|
|
358
362
|
this.log.debug(`Checking key: ${CYAN}${storage}:${key}${db}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.7.8-dev-20260505-
|
|
3
|
+
"version": "3.7.8-dev-20260505-8558313",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
],
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@matter/main": "0.16.11",
|
|
133
|
-
"@matterbridge/dgram": "3.7.8-dev-20260505-
|
|
134
|
-
"@matterbridge/thread": "3.7.8-dev-20260505-
|
|
135
|
-
"@matterbridge/types": "3.7.8-dev-20260505-
|
|
136
|
-
"@matterbridge/utils": "3.7.8-dev-20260505-
|
|
133
|
+
"@matterbridge/dgram": "3.7.8-dev-20260505-8558313",
|
|
134
|
+
"@matterbridge/thread": "3.7.8-dev-20260505-8558313",
|
|
135
|
+
"@matterbridge/types": "3.7.8-dev-20260505-8558313",
|
|
136
|
+
"@matterbridge/utils": "3.7.8-dev-20260505-8558313",
|
|
137
137
|
"escape-html": "1.0.3",
|
|
138
138
|
"express": "5.2.1",
|
|
139
139
|
"express-rate-limit": "8.5.0",
|