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()