@steve31415/baselib 3.10.0 → 3.11.0

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.
@@ -3,7 +3,11 @@ const PING_INTERVAL_MS = 30_000;
3
3
  const CONNECT_WATCHDOG_MS = 10_000;
4
4
  const DEFAULT_RECONNECT_BEFORE_MS = 55 * 60 * 1000;
5
5
  const FAILURE_TIMEOUT_MS = 60_000;
6
- const OUTAGE_ESCALATE_MS = 30_000;
6
+ // ERROR only after a sustained foreground outage. The fleet is single-user
7
+ // and triage runs daily, so detection latency is cheap; short client-network
8
+ // blips (Wi-Fi roam, VPN re-auth — observed 30-40 s) must not page as ERROR
9
+ // (Steve, 2026-09-11; raised from 30 s, which flagged those blips).
10
+ const OUTAGE_ESCALATE_MS = 120_000;
7
11
  const CLOSE_NO_USER = 4403;
8
12
  const PROBE_AFTER_ATTEMPTS = 2;
9
13
  const SOCKET_OPEN = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steve31415/baselib",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "Plasticine new-world shared platform library: logging, auth, service-to-service auth, db, HTTP, sync, app updates",
5
5
  "type": "module",
6
6
  "license": "MIT",