From de73eff07c3b88f752e3c03da4b4b92a87fa140c Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Tue, 10 Dec 2024 19:02:42 +0100 Subject: [PATCH] Default value for Backend start_health --- router/src/infer/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/router/src/infer/mod.rs b/router/src/infer/mod.rs index 0638d0c6..6497d857 100644 --- a/router/src/infer/mod.rs +++ b/router/src/infer/mod.rs @@ -37,7 +37,9 @@ pub trait Backend { /// The state of the health on startup /// Typically false, or true if the backend includes /// a warmup phase. - fn start_health(&self) -> bool; + fn start_health(&self) -> bool { + false + } } /// Inference struct