You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, both of these processes have a tendency to runaway, leaving a bunch of test runners or mill servers spinning in the background eating up CPU and battery on your laptop.
While robustifying the Ctrl-C killing logic would be nice, another thing we could do is make them periodically check a PID file to see if they are still the only ones running in a folder, and if not then kill themselves. This is currently what .runBackground does, which seems to work well enough, and it would mean that a runaway process would only survive until the next mill ... command before dying.
The text was updated successfully, but these errors were encountered:
Currently, both of these processes have a tendency to runaway, leaving a bunch of test runners or mill servers spinning in the background eating up CPU and battery on your laptop.
While robustifying the Ctrl-C killing logic would be nice, another thing we could do is make them periodically check a PID file to see if they are still the only ones running in a folder, and if not then kill themselves. This is currently what
.runBackground
does, which seems to work well enough, and it would mean that a runaway process would only survive until the nextmill ...
command before dying.The text was updated successfully, but these errors were encountered: