[fix](trx-client): speed up remote spectrum polling
Raise remote spectrum polling from 100 ms to 50 ms while keeping the relaxed timeout and subscriber gating. Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -42,10 +42,9 @@ impl RemoteEndpoint {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remote spectrum snapshots do not need to outpace the SDR-side producer.
|
// Keep remote spectrum reasonably responsive without returning to the old
|
||||||
// Polling at ~10 Hz avoids stacking unnecessary in-flight requests on slower
|
// timeout churn caused by a much tighter request cadence.
|
||||||
// links while still matching the typical backend update cadence.
|
const SPECTRUM_POLL_INTERVAL: Duration = Duration::from_millis(50);
|
||||||
const SPECTRUM_POLL_INTERVAL: Duration = Duration::from_millis(100);
|
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct RemoteClientConfig {
|
pub struct RemoteClientConfig {
|
||||||
|
|||||||
Reference in New Issue
Block a user