pub async fn poll_loop(
client: Arc<CpClient>,
base: Arc<Config>,
runtime: Arc<ArcSwap<Runtime>>,
interval: Duration,
shutdown: Receiver<bool>,
)Expand description
Background loop: poll the control plane for policy and hot-reload it through build_runtime +
the arc-swap, exactly like a local file edit. A parse/build failure keeps the current policy.