[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:
@@ -564,6 +564,9 @@ async fn async_init() -> DynResult<AppState> {
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user