Owen Schwartz
0e7aafd364
Merge pull request #2998 from Josh-Voyles/mem-fix-2
...
fix: deterministically finalize SQLite prepared statements to prevent native memory leak (#2120 )
2026-05-04 17:29:45 -07:00
Josh Voyles
2154811ffb
removed possible introduced HA Redis bug; improved comment
2026-05-03 09:39:27 -04:00
Josh Voyles
9bd33072f4
cleaned comments - more concise
2026-05-03 00:00:11 -04:00
Josh Voyles
2c85bcd06b
fix(db): deterministically finalize prepared statements after execution
...
Wrap Statement .all()/.get()/.run() via autoFinalizeStatement() with
try/finally calling stmt.finalize() post-execution, releasing native
sqlite3_stmt memory immediately instead of waiting for GC.
Safe because:
- Drizzle one-time queries invoke each statement once only
- Drizzle does not access statement after .all()/.get()/.run() returns
- Migration scripts use isolated new Database() instances (unpatched)
- No app code holds persistent .prepare() refs on main db
2026-05-02 15:50:54 -04:00
miloschwartz
de92a28435
update mac models
2026-05-02 12:09:55 -07: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
Owen
93b09de425
Adjust cloud api endpoints
2026-04-29 21:04:11 -07:00
Owen
f89b0a17ac
Set the default to unknown
2026-04-27 17:15:44 -07:00
Owen
82212af643
Add resource degraded
2026-04-25 15:34:04 -07:00
Owen
5e293e8364
Handle getting resources
2026-04-23 17:14:05 -07:00
Owen
fa117198a0
Pass one at getting it into the db
2026-04-23 14:05:08 -07:00
Owen
dcbd22b4ad
Handle all of the alerting from the functions
2026-04-22 18:13:15 -07:00
Owen
1a0bde2ee9
Merge branch 'alerting-rules' into trial
2026-04-21 14:57:25 -07:00
Owen
b1293e6f56
Add siteId to api
2026-04-21 14:12:05 -07:00
Owen
725603101b
Support the all types in the schema and engine
2026-04-20 21:00:28 -07:00
Owen
f38069623b
Add resource
2026-04-20 17:48:44 -07:00
Owen
0a70896080
Add toggle types
2026-04-20 17:37:01 -07:00
Owen
5a09062070
roleIds are numbers
2026-04-20 17:19:44 -07:00
Owen
55989c2019
Add trial system
2026-04-18 13:40:50 -07:00
Owen
f932cc7aca
Fix status history and show on the health check
2026-04-16 20:55:21 -07:00
Owen
c1782a2650
Add uptime tracking
2026-04-16 18:25:25 -07:00
Owen
d6c15c8b81
Add resource column to hc and remove —
2026-04-16 17:42:30 -07:00
Owen
1a1d1cfb83
Not null removed
2026-04-15 20:40:23 -07:00
Owen
a04e2a5e00
Transititioning the hc table and firing the alerts
2026-04-15 17:46:04 -07:00
Owen
ad15b7c3c6
Add new intervals and tcp mode to health checks
2026-04-15 16:31:15 -07:00
Owen
3c6775992d
Merge branch 'private-http-ha' into alerting-rules
2026-04-15 14:59:50 -07:00
Owen
bf64e226d3
Many to one on sites and health checks
2026-04-15 14:58:33 -07:00
Owen
7d50703c26
First pass
2026-04-14 21:58:36 -07:00
Owen
33182bcf85
Add init alert schema
2026-04-14 21:43:16 -07:00
Owen
af709331fb
Add missing DnsRecords type
2026-04-14 19:46:25 -07:00
Owen
561a9ab379
Merge branch 'private-site-ha' into private-http-ha
2026-04-13 10:25:49 -07:00
Owen
789b991c56
Logging and http working
2026-04-12 15:08:17 -07:00
Owen
fc4633db91
Add domain component to the site resource
2026-04-11 17:19:18 -07:00
Owen
510931e7d6
Add ssl to schema
2026-04-09 21:02:20 -04:00
Owen
c027c8958b
Add scheme
2026-04-09 17:54:17 -04:00
Owen
96b9123306
Merge branch 'dev' into private-site-ha
2026-04-09 17:39:45 -04:00
Owen
eb771ceda4
Add http to mode and put destinationPort back
2026-04-09 17:02:08 -04:00
Owen
c1bd36231d
Default to approved
2026-03-31 14:46:23 -07:00
Owen
edfeec900d
Define db type
2026-03-31 14:25:47 -07:00
Owen
d155d7e31b
Update formatting
2026-03-31 12:26:31 -07:00
Owen
3dc258da16
Log streaming manager pass 1
2026-03-31 12:22:37 -07:00
Owen
ca0dd09964
Add crud
2026-03-30 20:35:00 -07:00
Owen
4465b05404
Merge branch 'provisioning-room' into dev
2026-03-30 16:19:11 -07:00
Owen
d1182c3a59
Merge branch 'main' into dev
2026-03-30 15:53:46 -07:00
Owen
be3e066843
Merge branch 'dev' into feature/region-rules
2026-03-30 14:36:50 -07:00
Owen Schwartz
e345c6ee6e
Merge pull request #2627 from shreyaspapi/fix/1547-persist-user-locale
...
fix: persist user locale preference to database (#1547 )
2026-03-30 14:29:15 -07:00
Owen
e0c96e7224
Configure connection log retention time
2026-03-30 11:31:46 -07:00
Owen
fcf92d4e2c
Add basic provisioning room v1 and update keys
2026-03-29 16:28:51 -07:00
Owen
77cef554be
Provisioning room basics done
2026-03-29 14:20:58 -07:00
Owen
9dc9b6a2c3
Merge branch 'logging-provision' into dev
2026-03-29 13:59:14 -07:00