Luke Berndt
917a8faca6
Remove upload temp files on every exit path
...
Rejected uploads (unknown system, bad key, invalid file or source list) and
uploads that threw returned without deleting multer's temp file, leaking
751k files (39 GB) in the backend container since April.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-09 18:26:15 -05:00
Luke Berndt
6825aaf9a4
Reduce backend per-upload CPU to relieve upload timeouts
...
The Node main thread was saturated at about 39 uploads/s, overflowing the
listen queue so uploads timed out connecting from nginx.
- Enable keepAlive on the S3 agent; every upload did a full TLS handshake
- Remove OpenTelemetry tracing
- Cache the system key lookup for 60s
- Use lean queries when listing calls
- Serialize each call once in notify_clients, not per recipient
- Add an nginx upstream keepalive pool, and hold Node's keepAliveTimeout
above it so nginx never reuses a connection Node has closed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-09 18:06:48 -05:00
Luke Berndt
e4cd8072d9
unified email
2026-01-22 21:25:16 -05:00
Luke Berndt
0024b711ea
fix for crash
2025-12-13 22:44:30 -05:00
Luke Berndt
57d3cb87da
acitivity is back and emergency is highlighted
2025-07-12 10:43:04 -04:00
Luke Berndt
1568aabfda
fix for events
2025-02-28 08:10:33 -05:00
Luke Berndt
0f309d5e43
return a string
2025-02-09 08:43:03 -05:00
Luke Berndt
25240eeb03
include the current time in the status request
2025-02-09 08:15:08 -05:00
Luke Berndt
7dea9e614b
AWS S3 SDK fix
2025-02-06 22:08:05 -05:00
Luke Berndt
70e1c155ce
add system status
2025-02-06 21:19:23 -05:00
Luke Berndt
24cc7ce605
fixes for Patches / Star bug
2025-01-06 22:04:18 -05:00
Tad Smith
350c83c259
Save patch infomation for calls.
2024-12-13 20:46:06 +00:00
Luke Berndt
414599dfa3
upgrade Mongo!!
2024-10-19 09:29:23 -04:00
Luke Berndt
a3616fc3b9
what is slow, really?
2024-10-13 16:57:23 -04:00
Luke Berndt
abee28c030
less messages, more meaning
2024-10-13 09:58:21 -04:00
Luke Berndt
5eaf2308f8
Merge pull request #174 from openmhz/wavesurfer
...
Wavesurfer
2024-09-22 22:16:43 -04:00
Luke Berndt
752bb3dfa9
More Mongoose connections - updated wavesurfer look
2024-09-22 21:56:44 -04:00
Luke Berndt
013a183cab
Merge pull request #162 from zacharyfleck/master
...
Contact System: reply to sender, rather than admin
2024-09-15 10:13:51 -04:00
Luke Berndt
6098e679f0
fix a header sending error, sent twice
2024-09-13 22:26:19 -04:00
Luke Berndt
470447f93c
add Prefix for each shortname and talkgroup
2024-09-09 22:05:32 -04:00
Luke Berndt
2cbc6929e8
add upload server
2024-09-08 09:57:44 -04:00
Luke Berndt
1be715c042
fixed admin
2024-09-07 09:53:26 -04:00
Luke Berndt
f9bff813d2
less debug - normal sockets
2024-09-07 08:43:34 -04:00
Luke Berndt
370afd64f1
tons of sockets
2024-09-06 15:32:41 -04:00
Luke Berndt
1ce0f06ad8
more data
2024-09-06 15:03:06 -04:00
Luke Berndt
1266281a8e
better math
2024-09-06 11:57:37 -04:00
Luke Berndt
5cf0291a14
agh
2024-09-06 11:50:42 -04:00
Luke Berndt
ac0ff712da
fixed
2024-09-06 11:49:51 -04:00
Luke Berndt
17a9d50290
debug message
2024-09-06 11:47:00 -04:00
Luke Berndt
9a9f94bd99
no retry for upload
2024-09-06 11:13:03 -04:00
Luke Berndt
1b6563c1a8
less eevnt logs
2024-09-01 13:54:05 -04:00
Luke Berndt
a674e92a30
add clientCount back to system list
2024-09-01 10:33:06 -04:00
Luke Berndt
7048f73034
less verbose logs for events
2024-09-01 10:02:10 -04:00
Luke Berndt
edf99e1162
calculate average uploadvolume
2024-08-29 21:41:33 -04:00
Luke Berndt
e15195fcb9
better diagnose upload errors
2024-08-28 21:55:54 -04:00
Luke Berndt
f81ff63fe7
fix
2024-08-26 21:15:18 -04:00
Luke Berndt
b9921a4a70
a saner method for loading systems
2024-08-26 21:13:05 -04:00
Luke Berndt
cdd8fa8055
better debug
2024-08-25 22:50:57 -04:00
Luke Berndt
814c1f6014
concurrency is tough!
2024-08-25 22:47:52 -04:00
Luke Berndt
05483a7b8b
optimize
2024-08-25 22:44:01 -04:00
Luke Berndt
221ee0dd52
debugging systems list
2024-08-25 22:40:19 -04:00
Luke Berndt
d46c8b0baa
just track call totals
2024-08-25 22:10:10 -04:00
Luke Berndt
d9823a6af9
trying...
2024-08-25 09:44:17 -04:00
Luke Berndt
6ff95ded02
OTEL Dataset
2024-08-21 21:56:40 -04:00
Luke Berndt
00dbc4725e
its working
2024-08-21 21:41:57 -04:00
Luke Berndt
0e6e69c56e
Update uploads.js
2024-08-21 15:11:23 -04:00
Luke Berndt
7352c8af82
Update uploads.js
2024-08-21 15:02:41 -04:00
Luke Berndt
fc77bd2934
upgrading telem
2024-08-21 10:43:39 -04:00
Luke Berndt
3ea2613ba9
Update uploads.js
2024-08-20 11:40:57 -04:00
Luke Berndt
2e42051973
Update uploads.js
2024-08-20 11:36:35 -04:00