asio-grpc v1.6.0
Asynchronous gRPC with Asio/unified executors
agrpc::DefaultPollContextTraits Struct Reference

(experimental) Default PollContext traits More...

#include <agrpc/pollContext.hpp>

Static Public Attributes

static constexpr std::size_t BUFFER_SIZE {200}
 The default buffer size in bytes.
 
static constexpr std::chrono::nanoseconds MAX_LATENCY {200}
 The desired maximum latency. More...
 

Detailed Description

(experimental) Default PollContext traits

Member Data Documentation

◆ MAX_LATENCY

constexpr std::chrono::nanoseconds agrpc::DefaultPollContextTraits::MAX_LATENCY {200}
staticconstexpr

The desired maximum latency.

The maximum latency when going from an idle GrpcContext to a busy one. A low latency leads to higher CPU consumption during idle time.