Skip to content

Commit

Permalink
fix up whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wittwer committed Dec 9, 2024
1 parent 60000e9 commit 32601bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grpc/infer_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -1526,11 +1526,11 @@ class ModelInferHandler
TRITONSERVER_ResponseAllocatorDelete(allocator_),
"deleting response allocator");
}
std::atomic<uint32_t> connection_count() { return conn_cnt_.load(); }

protected:
void StartNewRequest() override;
bool Process(State* state, bool rpc_ok) override;
std::atomic<uint32_t> connection_count() { return conn_cnt_.load(); }

private:
void Execute(State* state);
Expand All @@ -1543,6 +1543,8 @@ class ModelInferHandler
TRITONSERVER_ResponseAllocator* allocator_;

grpc_compression_level compression_level_;

std::atomic<uint32_t> conn_cnt_;
};

#if !defined(_WIN32) && defined(TRITON_ENABLE_TRACING)
Expand All @@ -1569,8 +1571,6 @@ class GrpcServerCarrier : public otel_cntxt::propagation::TextMapCarrier {
}

::grpc::ServerContext* context_;

std::atomic<uint32_t> conn_cnt_;
};
#else
using GrpcServerCarrier = void*;
Expand Down

0 comments on commit 32601bf

Please sign in to comment.