feat(trtllm): rewrite health to not account for current state

This commit is contained in:
Morgan Funtowicz 2024-10-21 15:55:38 +02:00
parent 18b473b019
commit 04c6f51258

View File

@ -387,9 +387,7 @@ impl Backend for TensorRtLlmBackendV2 {
}
}
async fn health(&self, current_health: bool) -> bool {
current_health
& !self.executor_looper.is_finished()
& !self.post_processor_looper.is_finished()
async fn health(&self, _: bool) -> bool {
!self.executor_looper.is_finished() & !self.post_processor_looper.is_finished()
}
}