Commit abca0016 authored by Ranadeep Biswas's avatar Ranadeep Biswas
Browse files

multiple clients to a node

parent 82b970ac
...@@ -120,6 +120,7 @@ where ...@@ -120,6 +120,7 @@ where
fn exec_history(&self, hist: &mut Vec<Session>) { fn exec_history(&self, hist: &mut Vec<Session>) {
let mut threads = (0..self.n_node()) let mut threads = (0..self.n_node())
.cycle()
.zip(hist.drain(..)) .zip(hist.drain(..))
.map(|(node_id, mut single_hist)| { .map(|(node_id, mut single_hist)| {
let cluster_node = self.get_cluster_node(node_id); let cluster_node = self.get_cluster_node(node_id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment