From b5ebc6474e2bd837e91888ea019d0fa5c69b8c69 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Wed, 15 Jul 2026 21:35:13 -0500 Subject: [PATCH] Free Galaxy --- starpilot/system/galaxy/galaxy.py | 5 ----- system/manager/process_config.py | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/starpilot/system/galaxy/galaxy.py b/starpilot/system/galaxy/galaxy.py index cb900fcac..a71a1e408 100644 --- a/starpilot/system/galaxy/galaxy.py +++ b/starpilot/system/galaxy/galaxy.py @@ -221,11 +221,6 @@ def main(): is_paired = galaxy_password_hash and len(galaxy_password_hash) == 64 and slug if is_paired: - if process is not None and process.poll() is None and not local_galaxy_ready(): - print(f"Galaxy: Web app is not ready on {GALAXY_WEB_HOST}:{GALAXY_WEB_PORT}. Stopping frpc tunnel until it recovers...") - cleanup_frpc() - last_slug = None - if process is None or process.poll() is not None or slug != last_slug: cleanup_frpc() if process is not None and slug == last_slug: diff --git a/system/manager/process_config.py b/system/manager/process_config.py index 24a09d0f2..8c7363daa 100644 --- a/system/manager/process_config.py +++ b/system/manager/process_config.py @@ -220,8 +220,8 @@ procs = [ # StarPilot variables procs += [ - PythonProcess("the_galaxy", "starpilot.system.the_galaxy.the_galaxy", always_run, nice=19), - PythonProcess("galaxy", "starpilot.system.galaxy.galaxy", always_run, nice=19), + PythonProcess("the_galaxy", "starpilot.system.the_galaxy.the_galaxy", always_run, nice=10), + PythonProcess("galaxy", "starpilot.system.galaxy.galaxy", always_run, nice=10), ] device_type = HARDWARE.get_device_type()