Skip to content

Commit

Permalink
fix utils bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkyang-nvi committed Nov 9, 2023
1 parent 753a71e commit 491e7f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/grpc/grpc_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

#include "grpc_utils.h"

#include <chrono>
#include <thread>

namespace triton { namespace server { namespace grpc {

std::ostream&
Expand Down Expand Up @@ -74,7 +77,7 @@ void
GrpcStatusUtil::Create(::grpc::Status* status, TRITONSERVER_Error* err)
{
const char* dstr = getenv("TRITONSERVER_SERVER_DELAY_GRPC_RESPONSE_SEC");
delay_response = 0;
uint64_t delay_response = 0;
if (dstr != nullptr) {
delay_response = atoi(dstr);
// Will delay the write of the response by the specified time.
Expand Down

0 comments on commit 491e7f1

Please sign in to comment.