fix(api): stop serve cleanly with jobs, streams and remote sessions open

This commit is contained in:
imSp4rky
2026-11-28 21:11:50 -07:00
parent f5c8858e6e
commit 7713f8df3f
13 changed files with 222 additions and 45 deletions
+2 -2
View File
@@ -72,8 +72,8 @@ characters of the API key.
## Event stream
`/api/dashboard/events` sends a `stats` event (the same body as `/status`) on connect and
then every 5 seconds, so the connection stays alive and the counters stay current. Between
those it sends:
then every 5 seconds, so the connection stays alive and the counters stay current. The server
closes the connection when it stops. Between those it sends:
| Event | Data |
|-------|------|