Struct Ros2TopicDataProvider::Config

Nested Relationships

This struct is a nested type of Class Ros2TopicDataProvider.

Struct Documentation

struct Config

Public Functions

inline Config()

Public Members

std::size_t max_pool_size
std::chrono::milliseconds idle_safety_net
std::chrono::milliseconds idle_sweep_tick
std::size_t cold_wait_cap
std::size_t max_parallel_samples

Upper bound on concurrent sampler threads launched by sample_parallel(). Prevents the provider from becoming a self-DoS vector under large topic lists: excess topics are processed in follow-up chunks instead of spawning one std::async per topic.