Commit Graph

10 Commits

Author SHA1 Message Date
Josh Voyles
0655ba9423 fix: revert investigative changes, keep root cause fixes only
Reverts diagnostic instrumentation and defensive hardening added during
memory leak investigation. Only root cause fixes survive.

Root causes fixed:
- SQLite driver: auto-finalize wrapper + PRAGMAs
- WS routers: delete clientConfigVersions on disconnect (unbounded Map leak)
- WS private router: same + Redis key cleanup

Reverted:
- Memory monitor, rate limiting, request timeouts (diagnostic/hardening)
- shutdownAuditLogger wiring, audit re-queue change, debug logs (cleanup/secondary)
- package-lock.json drift
2026-05-02 16:33:13 -04:00
Josh Voyles
d6abe83fdc fix: memory improvements
- SQLite: enable WAL mode and PRAGMA performance settings

- ws.ts (public + private): fix clientConfigVersions memory leak

- internal server: add rate limiting and request timeouts

- audit log: fix flush re-queue feedback loop

- memory: add monitoring instrumentation

- security: remove debug log of full request body
2026-05-02 07:37:18 -04:00
miloschwartz
7f5c164e16 change logging 2026-04-21 20:51:59 -07:00
Owen
49a326cde7 Add trust proxy to the internal api
Fix access logs not having the right ip
2026-02-24 20:23:42 -08:00
Owen
d92b87b7c8 Chungus 2.0 2025-10-10 11:27:15 -07:00
miloschwartz
956869ab58 add strip duplicate sesion middleware 2025-10-05 15:41:05 -07:00
Milo Schwartz
3b4a993704 refactor and reorganize 2025-01-01 21:41:31 -05:00
Milo Schwartz
9732098799 make config class and separate migrations script 2025-01-01 17:50:12 -05:00
Milo Schwartz
72dc02ff2e access token endpoints and other backend support 2024-12-18 23:14:26 -05:00
Owen Schwartz
37f51bec9b Seperate servers 2024-12-07 22:07:13 -05:00