pulsewatch-server 1.1.0 → 1.1.1

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.
@@ -111,7 +111,7 @@ export class MonitorRunner {
111
111
  const ps = m.pushToken ? this.pushState.get(m.pushToken) : null;
112
112
  const last = ps?.lastPushAt;
113
113
  const now = Date.now();
114
- const graceMs = (m.intervalSeconds ?? 20) * 1000 * 1.5;
114
+ const graceMs = (m.intervalSeconds ?? 20) * 1000 * 2.0;
115
115
  const up = last != null && now - last <= graceMs;
116
116
  const result = {
117
117
  status: up ? "up" : "down",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pulsewatch-server",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Complete uptime monitoring server - Drop-in Express backend with monitoring engine, database, REST API, and real-time updates. No authentication required.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",