From 82529c54d4828823d4ed2866fc891183c74886d4 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sat, 28 Mar 2026 15:08:48 +0100 Subject: [PATCH] [fix](trx-client): spawn TLE refresh task for satellite pass predictions The TLE store is process-local; only the server was fetching TLEs from CelesTrak, leaving the client store empty and predictions always unavailable. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- src/trx-client/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/trx-client/src/main.rs b/src/trx-client/src/main.rs index 46ad8e0..526dab4 100644 --- a/src/trx-client/src/main.rs +++ b/src/trx-client/src/main.rs @@ -564,6 +564,9 @@ async fn async_init() -> DynResult { let frontend_runtime_ctx = Arc::new(frontend_runtime); + // Fetch satellite TLEs from CelesTrak for pass predictions. + trx_core::geo::spawn_tle_refresh_task(); + // Start decode history collector before audio client starts replay. // Frontend tasks are spawned asynchronously, so starting the collector // here avoids missing the initial server-side history burst.