[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 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-28 15:08:48 +01:00
parent 171a1f4bbc
commit 82529c54d4
+3
View File
@@ -564,6 +564,9 @@ async fn async_init() -> DynResult<AppState> {
let frontend_runtime_ctx = Arc::new(frontend_runtime); 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. // Start decode history collector before audio client starts replay.
// Frontend tasks are spawned asynchronously, so starting the collector // Frontend tasks are spawned asynchronously, so starting the collector
// here avoids missing the initial server-side history burst. // here avoids missing the initial server-side history burst.