STRA-338 size-fn2: leleka-runtime-client lines within 120 columns (wide 3 -> 0; doc comments re-filled)

This commit is contained in:
Pavlo Ratushnyi
2026-11-06 20:26:25 +01:00
parent b000c41bfe
commit be12cf5f15
2 changed files with 6 additions and 5 deletions
@@ -19,8 +19,8 @@ impl api::Backend for GrpcBackend {
self.keep_reports(probe.as_ref());
probe::advertised(probe, self.attached.clone())
}
/// The runtime's prefix-cache summary as of the last `capabilities` probe (one health tick old at most); `None` when the
/// runtime is unreachable, restarted since the attach, or has no such cache.
/// The runtime's prefix-cache summary as of the last `capabilities` probe (one health tick old at most); `None`
/// when the runtime is unreachable, restarted since the attach, or has no such cache.
fn prefix_cache_summary(&self) -> Option<String> {
self.prefix_summary
.lock()
@@ -28,7 +28,8 @@ impl api::Backend for GrpcBackend {
.and_then(|cell| cell.clone())
}
/// The runtime's memory-governor report as of the last `capabilities` probe; `None` when unreachable or it has none.
/// The runtime's memory-governor report as of the last `capabilities` probe; `None` when unreachable or it has
/// none.
fn memory_report(&self) -> Option<String> {
self.memory_report.lock().ok().and_then(|cell| cell.clone())
}
+2 -2
View File
@@ -123,8 +123,8 @@ impl RuntimeClient {
}
Ok(value)
}
/// Change the settings of the loaded model (JSON document, `leleka_runtime::serve_tuning`); the engine reopens its serve stack,
/// which takes tens of seconds, so the deadline is generous.
/// Change the settings of the loaded model (JSON document, `leleka_runtime::serve_tuning`); the engine reopens its
/// serve stack, which takes tens of seconds, so the deadline is generous.
pub async fn reconfigure(
&mut self,
command: proto::ReconfigureRequest,