STRA-338 size-fn2: leleka-runtime-client lines within 120 columns (wide 3 -> 0; doc comments re-filled)
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user