pub fn discovery_handler(
discovery_results: Vec<DiscoveryReply>,
worker_id: u32,
worker_stacks: &mut HashMap<u32, VecDeque<Task>>,
origin_id: u32,
nprobes: u32,
)Expand description
Takes a TaskResult containing discovery probe replies for –responsive or –latency probes.
§Arguments
discovery_results- List of discovery resultsworker_id- worker that will perform the follow-up tasksworker_stacks- shared stack to put worker tasks inorigin_id- Origin for which these replies are receivednprobes- number of times the worker sends each follow-up probe