title: discv4::WatcherPool summary: Global resource pool shared across all chain DialSchedulers. Enforces a two-level fd cap: total across all chains, and per chain.
discv4::WatcherPool¶
Global resource pool shared across all chain DialSchedulers. Enforces a two-level fd cap: total across all chains, and per chain.
#include <dial_scheduler.hpp>
Public Functions¶
| Name | |
|---|---|
| WatcherPool(const WatcherPoolConfig & config) | |
| WatcherPool(int max_total_, int max_per_chain_) |
Public Attributes¶
| Name | |
|---|---|
| int | max_total |
| int | max_per_chain |
| std::atomic< int > | active_total |
Public Functions Documentation¶
function WatcherPool¶
function WatcherPool¶
Public Attributes Documentation¶
variable max_total¶
variable max_per_chain¶
variable active_total¶
Updated on 2026-06-05 at 17:22:18 -0700