patchrelay 0.10.4 → 0.10.5
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/build-info.json +3 -3
- package/dist/preflight.js +0 -5
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
package/dist/preflight.js
CHANGED
|
@@ -118,11 +118,6 @@ function checkDatabaseHealth(config) {
|
|
|
118
118
|
return checks;
|
|
119
119
|
}
|
|
120
120
|
checks.push(pass("database_schema", `Database opened, migrations applied, and schema is readable (${objectCount} objects)`));
|
|
121
|
-
// Check for stale pending webhooks
|
|
122
|
-
const pendingCount = Number(connection.prepare("SELECT COUNT(*) AS n FROM webhook_events WHERE processing_status = 'pending'").get()?.n ?? 0);
|
|
123
|
-
if (pendingCount > 50) {
|
|
124
|
-
checks.push(warn("webhook_queue", `${pendingCount} pending webhook events in queue`));
|
|
125
|
-
}
|
|
126
121
|
}
|
|
127
122
|
catch (error) {
|
|
128
123
|
checks.push(fail("database_schema", `Unable to open or validate database schema at ${config.database.path}: ${formatError(error)}`));
|