Skip to content

Feature/idle shutdown - #27

Open
mikesndrs wants to merge 7 commits into
mainfrom
feature/idle_shutdown
Open

mikesndrs wants to merge 7 commits into
mainfrom
feature/idle_shutdown

Conversation

@mikesndrs

Copy link
Copy Markdown
Collaborator

wait for #25

@mikesndrs mikesndrs self-assigned this Jul 28, 2026
@mikesndrs
mikesndrs requested a review from DaanVanVugt July 30, 2026 11:21
IDLE_SHUTDOWN_SECONDS = 300
"""Seconds an m3dash server waits with no open viewers before it shuts
itself down, so a forgotten server doesn't block the next launch from
rebinding its (fixed, per-user) port."""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer using the socket version (which also has collisions). Maybe we can change the approach here, if the port is claimed already we can just provide a copy-pastable kill command (or even a flag to autokill) so you always get your new dashboard even if a existing one was running

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants