diff --git a/src/dynamic_batch_scheduler.cc b/src/dynamic_batch_scheduler.cc index 93dc1cda7..7a1307e1e 100644 --- a/src/dynamic_batch_scheduler.cc +++ b/src/dynamic_batch_scheduler.cc @@ -56,7 +56,7 @@ FinishSkippedRequests( for (auto& request : queue) { InferenceRequest::RespondIfError( request, response_status, true /* release_requests */, - FailureReason::OTHER); + reason); } } }