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. max_total — global fd cap (mobile default 12, desktop 200) max_per_chain — per-chain cap (mobile default 3, desktop 50).
discv4::WatcherPool¶
Global resource pool shared across all chain DialSchedulers. Enforces a two-level fd cap: total across all chains, and per chain. max_total — global fd cap (mobile default 12, desktop 200) max_per_chain — per-chain cap (mobile default 3, desktop 50).
#include <dial_scheduler.hpp>
Public Functions¶
| Name | |
|---|---|
| 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¶
Public Attributes Documentation¶
variable max_total¶
variable max_per_chain¶
variable active_total¶
Updated on 2026-04-13 at 23:22:46 -0700